#D9CD91#D9CD91

#D9CD91 is a very light, moderate yellow. Relative luminance 0.605; OKLCH L 84.4% C 0.079 H 98.2°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#D9CD91
RGBrgb(217, 205, 145)
HSLhsl(50, 49%, 71%)
HSVhsv(50, 33%, 85%)
CMYKcmyk(0%, 5.5%, 33.2%, 14.9%)
CIE-LABlab(82.09, -4.73, 31.43)
CIE-LCHlch(82.09, 31.78, 98.56°)
OKLaboklab(84.4% -0.0113 0.0783)
OKLCHoklch(84.4% 0.079 98.2)
XYZxyz(55.5581, 60.4601, 35.5259)
Luminance0.6046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD91 #919DD9
analogous
#D9A991 #D9CD91 #C1D991
triadic
#D9CD91 #91D9CD #CD91D9
tetradic
#D9CD91 #91D9A9 #919DD9 #D991C1
square
#D9CD91 #91D9A9 #919DD9 #D991C1
split-complementary
#D9CD91 #91C1D9 #A991D9
monochromatic
#B29F3E #C9B864 #D9CD91 #E9E2BE #F7F5E8

Accessibility & contrast

On white

1.60
#D9CD91 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#D9CD91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CD91
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CD91#FFFFFF#000000##000000
##D9CD911.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8CA8D
Deuteranopia (green-blind)
#DCCE93
Tritanopia (blue-blind)
#E4C5BD
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d9cd91;
/* rgb */ color: rgb(217, 205, 145);
/* oklch */ color: oklch(84.4% 0.079 98.2);
Tailwind
colors: {
  custom: {
    50: '#e5dcb1',
    500: '#d9cd91',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd91;
$custom-light: #e5dcb1;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd91",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 145
  },
  "hsl": {
    "h": 50,
    "s": 48.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.84395,
    "c": 0.07907,
    "h": 98.2
  },
  "luminance": 0.60459
}

Semantic roles & 50–950 ramp

primary
#D9CD91
secondary
#5E6CB0
accent
#42BC2A
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#161511
muted
#848481

Preview Lab

Preview with #D9CD91

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

Preview Lab → · Contrast checker → · Palette generator →

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