#D9CD89#D9CD89

#D9CD89 is a very light, moderate yellow. Relative luminance 0.602; OKLCH L 84.3% C 0.088 H 99.4°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#D9CD89
RGBrgb(217, 205, 137)
HSLhsl(51, 51%, 69%)
HSVhsv(51, 37%, 85%)
CMYKcmyk(0%, 5.5%, 36.9%, 14.9%)
CIE-LABlab(81.96, -5.67, 35.38)
CIE-LCHlch(81.96, 35.84, 99.11°)
OKLaboklab(84.25% -0.0145 0.0872)
OKLCHoklch(84.25% 0.088 99.4)
XYZxyz(54.9628, 60.2220, 32.3908)
Luminance0.6022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD89 #8995D9
analogous
#D9A589 #D9CD89 #BDD989
triadic
#D9CD89 #89D9CD #CD89D9
tetradic
#D9CD89 #89D9A5 #8995D9 #D989BD
square
#D9CD89 #89D9A5 #8995D9 #D989BD
split-complementary
#D9CD89 #89BDD9 #A589D9
monochromatic
#AF9D38 #CAB95B #D9CD89 #E8E1B7 #F7F4E6

Accessibility & contrast

On white

1.61
#D9CD89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.04
#D9CD89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CD89
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CD89#FFFFFF#000000##000000
##D9CD891.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C984
Deuteranopia (green-blind)
#DDCE8C
Tritanopia (blue-blind)
#E4C4BC
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d9cd89;
/* rgb */ color: rgb(217, 205, 137);
/* oklch */ color: oklch(84.3% 0.088 99.4);
Tailwind
colors: {
  custom: {
    50: '#e6dcac',
    500: '#d9cd89',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd89;
$custom-light: #e6dcac;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd89",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 137
  },
  "hsl": {
    "h": 51,
    "s": 51.282,
    "l": 69.412
  },
  "oklch": {
    "l": 0.84251,
    "c": 0.08842,
    "h": 99.4
  },
  "luminance": 0.6022
}

Semantic roles & 50–950 ramp

primary
#D9CD89
secondary
#5764B0
accent
#3EBF27
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#161510
muted
#848481

Preview Lab

Preview with #D9CD89

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

Preview Lab → · Contrast checker → · Palette generator →

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