#D9CD4D#D9CD4D

#D9CD4D is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.5% C 0.147 H 104.0°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#D9CD4D
RGBrgb(217, 205, 77)
HSLhsl(55, 65%, 58%)
HSVhsv(55, 65%, 85%)
CMYKcmyk(0%, 5.5%, 64.5%, 14.9%)
CIE-LABlab(81.27, -10.86, 62.89)
CIE-LCHlch(81.27, 63.82, 99.80°)
OKLaboklab(83.48% -0.0353 0.1422)
OKLCHoklch(83.48% 0.147 104)
XYZxyz(51.7881, 58.9521, 15.6707)
Luminance0.5895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD4D #4D59D9
analogous
#D9874D #D9CD4D #9FD94D
triadic
#D9CD4D #4DD9CD #CD4DD9
tetradic
#D9CD4D #4DD987 #4D59D9 #D94D9F
square
#D9CD4D #4DD987 #4D59D9 #D94D9F
split-complementary
#D9CD4D #4D9FD9 #874DD9
monochromatic
#8D841E #C0B329 #D9CD4D #E4DB7F #EFE9B2

Accessibility & contrast

On white

1.64
#D9CD4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#D9CD4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CD4D
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CD4D#FFFFFF#000000##000000
##D9CD4D1.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63D
Deuteranopia (green-blind)
#E2CD55
Tritanopia (blue-blind)
#E9C0B2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d9cd4d;
/* rgb */ color: rgb(217, 205, 77);
/* oklch */ color: oklch(83.5% 0.147 104.0);
Tailwind
colors: {
  custom: {
    50: '#e8dc85',
    500: '#d9cd4d',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd4d;
$custom-light: #e8dc85;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd4d",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 77
  },
  "hsl": {
    "h": 54.857,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.83476,
    "c": 0.14656,
    "h": 104
  },
  "luminance": 0.5895
}

Semantic roles & 50–950 ramp

primary
#D9CD4D
secondary
#373F93
accent
#4EE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D9CD4D

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

Preview Lab → · Contrast checker → · Palette generator →

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