#D1CD89#D1CD89

#D1CD89 is a very light, moderate yellow. Relative luminance 0.590; OKLCH L 83.6% C 0.088 H 105.3°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#D1CD89
RGBrgb(209, 205, 137)
HSLhsl(57, 44%, 68%)
HSVhsv(57, 34%, 82%)
CMYKcmyk(0%, 1.9%, 34.4%, 18%)
CIE-LABlab(81.31, -8.81, 34.41)
CIE-LCHlch(81.31, 35.52, 104.36°)
OKLaboklab(83.58% -0.0232 0.085)
OKLCHoklch(83.58% 0.088 105.3)
XYZxyz(52.6417, 59.0252, 32.2820)
Luminance0.5902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD89 #898DD1
analogous
#D1A989 #D1CD89 #B1D189
triadic
#D1CD89 #89D1CD #CD89D1
tetradic
#D1CD89 #89D1A9 #898DD1 #D189B1
square
#D1CD89 #89D1A9 #898DD1 #D189B1
split-complementary
#D1CD89 #89B1D1 #A989D1
monochromatic
#A19B3F #C0BA5D #D1CD89 #E2E0B5 #F3F2E1

Accessibility & contrast

On white

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

On black

12.80
#D1CD89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD89
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD89#FFFFFF#000000##000000
##D1CD891.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C884
Deuteranopia (green-blind)
#DACC8C
Tritanopia (blue-blind)
#DBC5BC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d1cd89;
/* rgb */ color: rgb(209, 205, 137);
/* oklch */ color: oklch(83.6% 0.088 105.3);
Tailwind
colors: {
  custom: {
    50: '#e0dcac',
    500: '#d1cd89',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd89;
$custom-light: #e0dcac;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd89",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 137
  },
  "hsl": {
    "h": 56.667,
    "s": 43.902,
    "l": 67.843
  },
  "oklch": {
    "l": 0.83575,
    "c": 0.08812,
    "h": 105.3
  },
  "luminance": 0.59024
}

Semantic roles & 50–950 ramp

primary
#D1CD89
secondary
#585CA6
accent
#36B72E
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #D1CD89

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

Preview Lab → · Contrast checker → · Palette generator →

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