#D9CD3D#D9CD3D

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

Color values

HEX#D9CD3D
RGBrgb(217, 205, 61)
HSLhsl(55, 67%, 55%)
HSVhsv(55, 72%, 85%)
CMYKcmyk(0%, 5.5%, 71.9%, 14.9%)
CIE-LABlab(81.16, -11.70, 68.89)
CIE-LCHlch(81.16, 69.88, 99.64°)
OKLaboklab(83.35% -0.0394 0.1523)
OKLCHoklch(83.35% 0.157 104.5)
XYZxyz(51.2911, 58.7533, 13.0527)
Luminance0.5875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD3D #3D49D9
analogous
#D97F3D #D9CD3D #97D93D
triadic
#D9CD3D #3DD9CD #CD3DD9
tetradic
#D9CD3D #3DD97F #3D49D9 #D93D97
square
#D9CD3D #3DD97F #3D49D9 #D93D97
split-complementary
#D9CD3D #3D97D9 #7F3DD9
monochromatic
#827A19 #B5AA24 #D9CD3D #E3DA70 #EDE7A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9CD3D#FFFFFF#000000##000000
##D9CD3D1.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)
#DFC623
Deuteranopia (green-blind)
#E3CC47
Tritanopia (blue-blind)
#E9BFB1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d9cd3d;
/* rgb */ color: rgb(217, 205, 61);
/* oklch */ color: oklch(83.4% 0.157 104.5);
Tailwind
colors: {
  custom: {
    50: '#e9db7c',
    500: '#d9cd3d',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd3d;
$custom-light: #e9db7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd3d",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 61
  },
  "hsl": {
    "h": 55.385,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.83354,
    "c": 0.15727,
    "h": 104.5
  },
  "luminance": 0.58751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9CD3D

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

Preview Lab → · Contrast checker → · Palette generator →

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