RAL Classic color

RAL 1007 Daffodil yellow #DC9D00

RAL 1007 Daffodil yellow is shown here as #DC9D00, a widely published sRGB approximation of the printed swatch. It is a light soft amber in the orange family. In OKLCH it sits at lightness 0.738, chroma 0.153 and hue 79.8°. The nearest CSS named color is goldenrod (#DAA520), ΔE2000 3.1 away.

Relative luminance
0.3933
OKLCH L · C · h
0.738 · 0.153 · 79.8
Best text
Black 8.86:1
Hue family
Orange

#DC9D00 color codes

HEX
#DC9D00
RGB
rgb(220, 157, 0)
HSL
hsl(43, 100%, 43%)
OKLCH
oklch(0.738 0.153 79.8)
OKLab
oklab(0.738 0.027 0.150)
CIELAB (D65)
L* 68.99, a* 13.21, b* 73.05
XYZ (D65)
X 41.58, Y 39.33, Z 5.40
CMYK (naive)
cmyk(0%, 29%, 100%, 14%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

RAL and RAL Classic are trademarks of RAL gGmbH, which this site is not affiliated with. The sRGB value is an approximation of the printed swatch; check a physical RAL color card before you specify a paint.

Legibility

Contrast: is #DC9D00 accessible?

Black text on it reaches 8.86:1, passing AAA. White text fails at 2.36:1.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    8.86:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc +57
  • White text on it

    2.36:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc −51
  • As text on black

    8.86:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc −55
  • As text on white

    2.36:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc +46

Nearest versions that pass 4.5:1

  • For text on white

    #9B6D00 4.58:1

    Darkening its OKLCH lightness from 0.74 to 0.57 reaches 4.58:1 on white, keeping the hue.

  • For text on black

    #DC9D00 8.86:1

    It already reaches 8.86:1 on black, so no change is needed.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #DC9D00 live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #DC9D00

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #DC9D00 sits at step 400.

  1. 50#FFF4E1
    White
    1.08
    Black
    19.27
  2. 100#FFE8C2
    White
    1.19
    Black
    17.57
  3. 200#FFCF7E
    White
    1.45
    Black
    14.47
  4. 300#EEB240
    White
    1.89
    Black
    11.07
  5. 400This color#DC9D00
    White
    2.36
    Black
    8.86
  6. 500#AE7C00
    White
    3.69
    Black
    5.68
  7. 600#916600
    White
    5.11
    Black
    4.10
  8. 700#745100
    White
    7.19
    Black
    2.91
  9. 800#553A00
    White
    10.54
    Black
    1.99
  10. 900#382500
    White
    14.65
    Black
    1.43
  11. 950#201300
    White
    18.18
    Black
    1.15

Under each step, white and black text on it; a bold figure passes 4.5:1.

Gamut

How vivid #DC9D00 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.153; #DC9D00 uses 100% of it. Display P3, which many recent phones and laptops show, reaches 0.176 there: 15% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.153
sRGB edge
0.153
Display P3 edge
0.176
Rec. 2020 edge
0.179
Dominant wavelength
581 nm
Excitation purity
83%
Chromaticity
x 0.4817, y 0.4557
  • This color#DC9D00
  • Most vivid in sRGB#DC9D00
  • Most vivid in Display P3oklch(0.738 0.176 79.8)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #dc9d00;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.8488 0.6159 0); }
}

Mixing

Mixing #DC9D00

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#EECE80
  • OKLab50%#EFCF9B
  • OKLCH50%#EFCF9B

Black #000000

  • sRGB50%#6E4F00
  • OKLab50%#543A00
  • OKLCH50%#543A00

Its complement #76AAFF

  • sRGB50%#A9A480
  • OKLab50%#ADA9A4
  • OKLCH50%#EC81B7
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #dc9d00, white);
color: color-mix(in oklch, #dc9d00 50%, white);

In use

#DC9D00 in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:18.86:1 Passes
  • Link and body-size textText, 4.5:12.36:1 Fails
  • Large headingLarge text, 3:12.36:1 Fails
  • Icons, borders and focus ringsNon-text, 3:12.36:1 Fails

For text on this page, the nearest shade that passes is #9B6D00 4.58:1

Dark page

  • Button labelText, 4.5:18.86:1 Passes
  • Link and body-size textText, 4.5:17.90:1 Passes
  • Large headingLarge text, 3:17.90:1 Passes
  • Icons, borders and focus ringsNon-text, 3:17.90:1 Passes

Color vision

How #DC9D00 looks with color blindness

Tritanopia changes it most, ΔE2000 33.1; protanopia changes it least, 11.5.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #B59F00 ΔE2000 11.5

    Distinct

    Reads as light soft amber

  • Deuteranopia

    No working green (medium-wavelength) cones

    #C4AF12 ΔE2000 12.1

    Distinct

    Reads as light soft yellow

  • Tritanopia

    No working blue (short-wavelength) cones

    #F08B86 ΔE2000 33.1

    Distinct

    Reads as light soft red

  • Achromatopsia

    No cone color vision; lightness only

    #A8A8A8 ΔE2000 27.8

    Distinct

    Reads as light gray

Pairing check

Checked against its complement, #76AAFF. Their lightness contrast is only 1.01:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#DC9D00 · #76AAFF53.3Stays distinct
Protanopia#B59F00 · #88B0FF55.2Stays distinct
Deuteranopia#C4AF12 · #77A3FD58.3Stays distinct
Tritanopia#F08B86 · #24BDC949.5Stays distinct
Achromatopsia#A8A8A8 · #A9A9A90.3Easily confused

Harmony

Color harmonies for #DC9D00

Its complement is #76AAFF, a light soft blue, on the cool side of the wheel.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#DC9D00
  • Complement#76AAFF

Complementary

Open in Harmony Studio
  • −30°#F58A48
  • Base#DC9D00
  • +30°#B1B120
  • Base#DC9D00
  • +120°#00C1C9
  • +240°#D488E6
  • Base#DC9D00
  • +150°#00BAF4
  • +210°#A999FF

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-ral-1007: #dc9d00;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'ral-1007': '#dc9d00',
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  --color-ral-1007: oklch(0.738 0.153 79.8);
}

Design token (W3C DTCG)

{
  "color": {
    "ral-1007": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.8627, 0.6157, 0],
        "hex": "#dc9d00"
      },
      "$description": "RAL 1007 Daffodil yellow (approximate sRGB)"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let ral1007 = Color(.sRGB, red: 0.863, green: 0.616, blue: 0.000, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Ral1007 = Color(0xFFDC9D00)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #DC9D00 in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.