#D9CD6A#D9CD6A

#D9CD6A is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.8% C 0.122 H 102.4°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#D9CD6A
RGBrgb(217, 205, 106)
HSLhsl(54, 59%, 63%)
HSVhsv(54, 51%, 85%)
CMYKcmyk(0%, 5.5%, 51.2%, 14.9%)
CIE-LABlab(81.54, -8.77, 50.26)
CIE-LCHlch(81.54, 51.02, 99.90°)
OKLaboklab(83.79% -0.0262 0.1187)
OKLCHoklch(83.79% 0.122 102.4)
XYZxyz(53.0497, 59.4567, 22.3147)
Luminance0.5946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD6A #6A76D9
analogous
#D9956A #D9CD6A #ADD96A
triadic
#D9CD6A #6AD9CD #CD6AD9
tetradic
#D9CD6A #6AD995 #6A76D9 #D96AAD
square
#D9CD6A #6AD995 #6A76D9 #D96AAD
split-complementary
#D9CD6A #6AADD9 #956AD9
monochromatic
#A09329 #CDBD39 #D9CD6A #E5DD9B #F2EECC

Accessibility & contrast

On white

1.63
#D9CD6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#D9CD6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CD6A
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CD6A#FFFFFF#000000##000000
##D9CD6A1.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC761
Deuteranopia (green-blind)
#E0CD6F
Tritanopia (blue-blind)
#E7C1B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d9cd6a;
/* rgb */ color: rgb(217, 205, 106);
/* oklch */ color: oklch(83.8% 0.122 102.4);
Tailwind
colors: {
  custom: {
    50: '#e7dc97',
    500: '#d9cd6a',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd6a;
$custom-light: #e7dc97;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd6a",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 106
  },
  "hsl": {
    "h": 53.514,
    "s": 59.358,
    "l": 63.333
  },
  "oklch": {
    "l": 0.83785,
    "c": 0.12157,
    "h": 102.4
  },
  "luminance": 0.59455
}

Semantic roles & 50–950 ramp

primary
#D9CD6A
secondary
#444EA4
accent
#31C71E
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D9CD6A

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

Preview Lab → · Contrast checker → · Palette generator →

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