#D9CD5B#D9CD5B

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

Color values

HEX#D9CD5B
RGBrgb(217, 205, 91)
HSLhsl(54, 62%, 60%)
HSVhsv(54, 58%, 85%)
CMYKcmyk(0%, 5.5%, 58.1%, 14.9%)
CIE-LABlab(81.39, -9.95, 57.01)
CIE-LCHlch(81.39, 57.88, 99.90°)
OKLaboklab(83.61% -0.0312 0.1317)
OKLCHoklch(83.61% 0.135 103.3)
XYZxyz(52.3367, 59.1716, 18.5599)
Luminance0.5917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD5B #5B67D9
analogous
#D98E5B #D9CD5B #A6D95B
triadic
#D9CD5B #5BD9CD #CD5BD9
tetradic
#D9CD5B #5BD98E #5B67D9 #D95BA6
square
#D9CD5B #5BD98E #5B67D9 #D95BA6
split-complementary
#D9CD5B #5BA6D9 #8E5BD9
monochromatic
#978C23 #C8BA2E #D9CD5B #E5DC8D #F0EBBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9CD5B#FFFFFF#000000##000000
##D9CD5B1.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)
#DEC74F
Deuteranopia (green-blind)
#E1CD61
Tritanopia (blue-blind)
#E8C0B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d9cd5b;
/* rgb */ color: rgb(217, 205, 91);
/* oklch */ color: oklch(83.6% 0.135 103.3);
Tailwind
colors: {
  custom: {
    50: '#e7dc8d',
    500: '#d9cd5b',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd5b;
$custom-light: #e7dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd5b",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 91
  },
  "hsl": {
    "h": 54.286,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83611,
    "c": 0.13534,
    "h": 103.3
  },
  "luminance": 0.5917
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9CD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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