#D0CD97#D0CD97

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

Color values

HEX#D0CD97
RGBrgb(208, 205, 151)
HSLhsl(57, 38%, 70%)
HSVhsv(57, 27%, 82%)
CMYKcmyk(0%, 1.4%, 27.4%, 18.4%)
CIE-LABlab(81.46, -7.44, 27.34)
CIE-LCHlch(81.46, 28.33, 105.21°)
OKLaboklab(83.76% -0.0186 0.0687)
OKLCHoklch(83.76% 0.071 105.2)
XYZxyz(53.4298, 59.3078, 37.9051)
Luminance0.5931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CD97 #979AD0
analogous
#D0B097 #D0CD97 #B6D097
triadic
#D0CD97 #97D0CD #CD97D0
tetradic
#D0CD97 #97D0B0 #979AD0 #D097B6
square
#D0CD97 #97D0B0 #979AD0 #D097B6
split-complementary
#D0CD97 #97B6D0 #B097D0
monochromatic
#A39E4A #BDB96D #D0CD97 #E3E1C1 #F5F5EA

Accessibility & contrast

On white

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

On black

12.86
#D0CD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CD97
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CD97#FFFFFF#000000##000000
##D0CD971.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C993
Deuteranopia (green-blind)
#D8CC99
Tritanopia (blue-blind)
#D8C6BF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d0cd97;
/* rgb */ color: rgb(208, 205, 151);
/* oklch */ color: oklch(83.8% 0.071 105.2);
Tailwind
colors: {
  custom: {
    50: '#dfdcb6',
    500: '#d0cd97',
    950: '#000000',
  },
}
SCSS
$custom: #d0cd97;
$custom-light: #dfdcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cd97",
  "rgb": {
    "r": 208,
    "g": 205,
    "b": 151
  },
  "hsl": {
    "h": 56.842,
    "s": 37.748,
    "l": 70.392
  },
  "oklch": {
    "l": 0.83755,
    "c": 0.07121,
    "h": 105.2
  },
  "luminance": 0.59307
}

Semantic roles & 50–950 ramp

primary
#D0CD97
secondary
#6669A6
accent
#3BB135
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #D0CD97

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

Preview Lab → · Contrast checker → · Palette generator →

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