#D1CD97#D1CD97

#D1CD97 is a very light, moderate yellow. Relative luminance 0.595; OKLCH L 83.8% C 0.071 H 104.3°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#D1CD97
RGBrgb(209, 205, 151)
HSLhsl(56, 39%, 71%)
HSVhsv(56, 28%, 82%)
CMYKcmyk(0%, 1.9%, 27.8%, 18%)
CIE-LABlab(81.54, -7.05, 27.46)
CIE-LCHlch(81.54, 28.35, 104.40°)
OKLaboklab(83.84% -0.0175 0.069)
OKLCHoklch(83.84% 0.071 104.3)
XYZxyz(53.7119, 59.4533, 37.9183)
Luminance0.5945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD97 #979BD1
analogous
#D1B097 #D1CD97 #B8D197
triadic
#D1CD97 #97D1CD #CD97D1
tetradic
#D1CD97 #97D1B0 #979BD1 #D197B8
square
#D1CD97 #97D1B0 #979BD1 #D197B8
split-complementary
#D1CD97 #97B8D1 #B097D1
monochromatic
#A59E49 #BEB96D #D1CD97 #E4E1C1 #F6F5EA

Accessibility & contrast

On white

1.63
#D1CD97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#D1CD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD97
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD97#FFFFFF#000000##000000
##D1CD971.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C993
Deuteranopia (green-blind)
#D8CC99
Tritanopia (blue-blind)
#DAC6BF
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d1cd97;
/* rgb */ color: rgb(209, 205, 151);
/* oklch */ color: oklch(83.8% 0.071 104.3);
Tailwind
colors: {
  custom: {
    50: '#dfdcb6',
    500: '#d1cd97',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd97;
$custom-light: #dfdcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd97",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 151
  },
  "hsl": {
    "h": 55.862,
    "s": 38.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.83838,
    "c": 0.07122,
    "h": 104.3
  },
  "luminance": 0.59452
}

Semantic roles & 50–950 ramp

primary
#D1CD97
secondary
#656AA7
accent
#3DB234
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #D1CD97

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

Preview Lab → · Contrast checker → · Palette generator →

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