#D8CD97#D8CD97

#D8CD97 is a very light, moderate yellow. Relative luminance 0.605; OKLCH L 84.4% C 0.072 H 98.0°. Best body text is #000000 at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#D8CD97
RGBrgb(216, 205, 151)
HSLhsl(50, 45%, 72%)
HSVhsv(50, 30%, 85%)
CMYKcmyk(0%, 5.1%, 30.1%, 15.3%)
CIE-LABlab(82.11, -4.37, 28.32)
CIE-LCHlch(82.11, 28.66, 98.77°)
OKLaboklab(84.42% -0.01 0.0711)
OKLCHoklch(84.42% 0.072 98)
XYZxyz(55.7366, 60.4973, 38.0132)
Luminance0.6050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD97 #97A2D8
analogous
#D8AD97 #D8CD97 #C3D897
triadic
#D8CD97 #97D8CD #CD97D8
tetradic
#D8CD97 #97D8AD #97A2D8 #D897C3
square
#D8CD97 #97D8AD #97A2D8 #D897C3
split-complementary
#D8CD97 #97C3D8 #AD97D8
monochromatic
#B29F43 #C7B86A #D8CD97 #E9E2C4 #F7F4E9

Accessibility & contrast

On white

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

On black

13.10
#D8CD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD97
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD97#FFFFFF#000000##000000
##D8CD971.001.6013.1013.10
#FFFFFF1.601.0021.0021.00
#00000013.1021.001.001.00
##00000013.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8cd97;
/* rgb */ color: rgb(216, 205, 151);
/* oklch */ color: oklch(84.4% 0.072 98.0);
Tailwind
colors: {
  custom: {
    50: '#e5dcb6',
    500: '#d8cd97',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd97;
$custom-light: #e5dcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd97",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 151
  },
  "hsl": {
    "h": 49.846,
    "s": 45.455,
    "l": 71.961
  },
  "oklch": {
    "l": 0.84424,
    "c": 0.07175,
    "h": 98
  },
  "luminance": 0.60496
}

Semantic roles & 50–950 ramp

primary
#D8CD97
secondary
#6471AF
accent
#45B92D
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#161511
muted
#848481

Preview Lab

Preview with #D8CD97

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

Preview Lab → · Contrast checker → · Palette generator →

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