#D9CD3F#D9CD3F

#D9CD3F is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.4% C 0.156 H 104.4°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#D9CD3F
RGBrgb(217, 205, 63)
HSLhsl(55, 67%, 55%)
HSVhsv(55, 71%, 85%)
CMYKcmyk(0%, 5.5%, 71%, 14.9%)
CIE-LABlab(81.17, -11.61, 68.19)
CIE-LCHlch(81.17, 69.17, 99.66°)
OKLaboklab(83.37% -0.0389 0.1511)
OKLCHoklch(83.37% 0.156 104.4)
XYZxyz(51.3459, 58.7753, 13.3418)
Luminance0.5877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD3F #3F4BD9
analogous
#D9803F #D9CD3F #98D93F
triadic
#D9CD3F #3FD9CD #CD3FD9
tetradic
#D9CD3F #3FD980 #3F4BD9 #D93F98
square
#D9CD3F #3FD980 #3F4BD9 #D93F98
split-complementary
#D9CD3F #3F98D9 #803FD9
monochromatic
#847B1A #B7AB24 #D9CD3F #E3DA72 #EDE8A5

Accessibility & contrast

On white

1.65
#D9CD3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#D9CD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CD3F
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CD3F#FFFFFF#000000##000000
##D9CD3F1.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC627
Deuteranopia (green-blind)
#E3CD49
Tritanopia (blue-blind)
#E9BFB1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d9cd3f;
/* rgb */ color: rgb(217, 205, 63);
/* oklch */ color: oklch(83.4% 0.156 104.4);
Tailwind
colors: {
  custom: {
    50: '#e9db7d',
    500: '#d9cd3f',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd3f;
$custom-light: #e9db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd3f",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 63
  },
  "hsl": {
    "h": 55.325,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.83368,
    "c": 0.15606,
    "h": 104.4
  },
  "luminance": 0.58773
}

Semantic roles & 50–950 ramp

primary
#D9CD3F
secondary
#32398A
accent
#4BEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D9CD3F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D9CD3F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva