#D7CD89#D7CD89

#D7CD89 is a very light, moderate yellow. Relative luminance 0.599; OKLCH L 84.1% C 0.088 H 100.9°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#D7CD89
RGBrgb(215, 205, 137)
HSLhsl(52, 49%, 69%)
HSVhsv(52, 36%, 84%)
CMYKcmyk(0%, 4.7%, 36.3%, 15.7%)
CIE-LABlab(81.79, -6.46, 35.14)
CIE-LCHlch(81.79, 35.72, 100.42°)
OKLaboklab(84.08% -0.0167 0.0867)
OKLCHoklch(84.08% 0.088 100.9)
XYZxyz(54.3718, 59.9173, 32.3631)
Luminance0.5992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD89 #8993D7
analogous
#D7A689 #D7CD89 #BAD789
triadic
#D7CD89 #89D7CD #CD89D7
tetradic
#D7CD89 #89D7A6 #8993D7 #D789BA
square
#D7CD89 #89D7A6 #8993D7 #D789BA
split-complementary
#D7CD89 #89BAD7 #A689D7
monochromatic
#AB9D3A #C8BA5B #D7CD89 #E6E0B7 #F6F4E4

Accessibility & contrast

On white

1.62
#D7CD89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.98
#D7CD89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD89
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD89#FFFFFF#000000##000000
##D7CD891.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C984
Deuteranopia (green-blind)
#DCCD8C
Tritanopia (blue-blind)
#E2C4BC
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d7cd89;
/* rgb */ color: rgb(215, 205, 137);
/* oklch */ color: oklch(84.1% 0.088 100.9);
Tailwind
colors: {
  custom: {
    50: '#e4dcac',
    500: '#d7cd89',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd89;
$custom-light: #e4dcac;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd89",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 137
  },
  "hsl": {
    "h": 52.308,
    "s": 49.367,
    "l": 69.02
  },
  "oklch": {
    "l": 0.8408,
    "c": 0.08826,
    "h": 100.9
  },
  "luminance": 0.59916
}

Semantic roles & 50–950 ramp

primary
#D7CD89
secondary
#5762AD
accent
#3CBD29
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#161510
muted
#848481

Preview Lab

Preview with #D7CD89

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

Preview Lab → · Contrast checker → · Palette generator →

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