#D9CD97#D9CD97

#D9CD97 is a very light, moderate yellow. Relative luminance 0.606; OKLCH L 84.5% C 0.072 H 97.1°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#D9CD97
RGBrgb(217, 205, 151)
HSLhsl(49, 46%, 72%)
HSVhsv(49, 30%, 85%)
CMYKcmyk(0%, 5.5%, 30.4%, 14.9%)
CIE-LABlab(82.19, -3.99, 28.45)
CIE-LCHlch(82.19, 28.73, 97.97°)
OKLaboklab(84.51% -0.0089 0.0714)
OKLCHoklch(84.51% 0.072 97.1)
XYZxyz(56.0330, 60.6501, 38.0271)
Luminance0.6065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD97 #97A3D9
analogous
#D9AC97 #D9CD97 #C4D997
triadic
#D9CD97 #97D9CD #CD97D9
tetradic
#D9CD97 #97D9AC #97A3D9 #D997C4
square
#D9CD97 #97D9AC #97A3D9 #D997C4
split-complementary
#D9CD97 #97C4D9 #AC97D9
monochromatic
#B49F42 #C9B76A #D9CD97 #E9E3C4 #F7F4E9

Accessibility & contrast

On white

1.60
#D9CD97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.13
#D9CD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CD97
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CD97#FFFFFF#000000##000000
##D9CD971.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8CA93
Deuteranopia (green-blind)
#DBCE99
Tritanopia (blue-blind)
#E3C5BF
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d9cd97;
/* rgb */ color: rgb(217, 205, 151);
/* oklch */ color: oklch(84.5% 0.072 97.1);
Tailwind
colors: {
  custom: {
    50: '#e5dcb6',
    500: '#d9cd97',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd97;
$custom-light: #e5dcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd97",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 151
  },
  "hsl": {
    "h": 49.091,
    "s": 46.479,
    "l": 72.157
  },
  "oklch": {
    "l": 0.8451,
    "c": 0.0719,
    "h": 97.1
  },
  "luminance": 0.60649
}

Semantic roles & 50–950 ramp

primary
#D9CD97
secondary
#6472B0
accent
#46BA2C
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#161511
muted
#848481

Preview Lab

Preview with #D9CD97

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

Preview Lab → · Contrast checker → · Palette generator →

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