#D8CD7D#D8CD7D

#D8CD7D is a very light, moderate yellow. Relative luminance 0.597; OKLCH L 84.0% C 0.102 H 101.5°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#D8CD7D
RGBrgb(216, 205, 125)
HSLhsl(53, 54%, 67%)
HSVhsv(53, 42%, 85%)
CMYKcmyk(0%, 5.1%, 42.1%, 15.3%)
CIE-LABlab(81.70, -7.38, 41.12)
CIE-LCHlch(81.70, 41.78, 100.17°)
OKLaboklab(83.97% -0.0203 0.0998)
OKLCHoklch(83.97% 0.102 101.5)
XYZxyz(53.8530, 59.7438, 28.0930)
Luminance0.5974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD7D #7D88D8
analogous
#D8A07D #D8CD7D #B6D87D
triadic
#D8CD7D #7DD8CD #CD7DD8
tetradic
#D8CD7D #7DD8A0 #7D88D8 #D87DB6
square
#D8CD7D #7DD8A0 #7D88D8 #D87DB6
split-complementary
#D8CD7D #7DB6D8 #A07DD8
monochromatic
#A89A32 #CABB4E #D8CD7D #E6DFAC #F4F1DB

Accessibility & contrast

On white

1.62
#D8CD7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.95
#D8CD7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD7D
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD7D#FFFFFF#000000##000000
##D8CD7D1.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC877
Deuteranopia (green-blind)
#DECD80
Tritanopia (blue-blind)
#E4C3B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d8cd7d;
/* rgb */ color: rgb(216, 205, 125);
/* oklch */ color: oklch(84.0% 0.102 101.5);
Tailwind
colors: {
  custom: {
    50: '#e5dca4',
    500: '#d8cd7d',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd7d;
$custom-light: #e5dca4;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd7d",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 125
  },
  "hsl": {
    "h": 52.747,
    "s": 53.846,
    "l": 66.863
  },
  "oklch": {
    "l": 0.83967,
    "c": 0.10186,
    "h": 101.5
  },
  "luminance": 0.59742
}

Semantic roles & 50–950 ramp

primary
#D8CD7D
secondary
#4E59AC
accent
#37C124
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#16150F
muted
#848480

Preview Lab

Preview with #D8CD7D

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

Preview Lab → · Contrast checker → · Palette generator →

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