#D9CD5A#D9CD5A

#D9CD5A is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.6% C 0.136 H 103.4°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#D9CD5A
RGBrgb(217, 205, 90)
HSLhsl(54, 63%, 60%)
HSVhsv(54, 59%, 85%)
CMYKcmyk(0%, 5.5%, 58.5%, 14.9%)
CIE-LABlab(81.38, -10.02, 57.45)
CIE-LCHlch(81.38, 58.32, 99.89°)
OKLaboklab(83.6% -0.0315 0.1325)
OKLCHoklch(83.6% 0.136 103.4)
XYZxyz(52.2939, 59.1544, 18.3342)
Luminance0.5915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD5A #5A66D9
analogous
#D98E5A #D9CD5A #A5D95A
triadic
#D9CD5A #5AD9CD #CD5AD9
tetradic
#D9CD5A #5AD98E #5A66D9 #D95AA5
square
#D9CD5A #5AD98E #5A66D9 #D95AA5
split-complementary
#D9CD5A #5AA5D9 #8E5AD9
monochromatic
#968B23 #C8B92E #D9CD5A #E4DC8C #F0EBBD

Accessibility & contrast

On white

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

On black

12.83
#D9CD5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CD5A
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CD5A#FFFFFF#000000##000000
##D9CD5A1.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74E
Deuteranopia (green-blind)
#E2CD60
Tritanopia (blue-blind)
#E8C0B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d9cd5a;
/* rgb */ color: rgb(217, 205, 90);
/* oklch */ color: oklch(83.6% 0.136 103.4);
Tailwind
colors: {
  custom: {
    50: '#e7dc8d',
    500: '#d9cd5a',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd5a;
$custom-light: #e7dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd5a",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 90
  },
  "hsl": {
    "h": 54.331,
    "s": 62.562,
    "l": 60.196
  },
  "oklch": {
    "l": 0.836,
    "c": 0.13619,
    "h": 103.4
  },
  "luminance": 0.59153
}

Semantic roles & 50–950 ramp

primary
#D9CD5A
secondary
#3C459B
accent
#2CCA1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9CD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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