#D8CD71#D8CD71

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

Color values

HEX#D8CD71
RGBrgb(216, 205, 113)
HSLhsl(54, 57%, 65%)
HSVhsv(54, 48%, 85%)
CMYKcmyk(0%, 5.1%, 47.7%, 15.3%)
CIE-LABlab(81.54, -8.55, 46.87)
CIE-LCHlch(81.54, 47.64, 100.34°)
OKLaboklab(83.79% -0.0248 0.1119)
OKLCHoklch(83.79% 0.115 102.5)
XYZxyz(53.1322, 59.4555, 24.2968)
Luminance0.5945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD71 #717CD8
analogous
#D89A71 #D8CD71 #B0D871
triadic
#D8CD71 #71D8CD #CD71D8
tetradic
#D8CD71 #71D89A #717CD8 #D871B0
square
#D8CD71 #71D89A #717CD8 #D871B0
split-complementary
#D8CD71 #71B0D8 #9A71D8
monochromatic
#A2962D #CBBC41 #D8CD71 #E5DEA1 #F2EFD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8CD71#FFFFFF#000000##000000
##D8CD711.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)
#DCC869
Deuteranopia (green-blind)
#DFCD75
Tritanopia (blue-blind)
#E5C2B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d8cd71;
/* rgb */ color: rgb(216, 205, 113);
/* oklch */ color: oklch(83.8% 0.115 102.5);
Tailwind
colors: {
  custom: {
    50: '#e6dc9c',
    500: '#d8cd71',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd71;
$custom-light: #e6dc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd71",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 113
  },
  "hsl": {
    "h": 53.592,
    "s": 56.906,
    "l": 64.51
  },
  "oklch": {
    "l": 0.83791,
    "c": 0.11458,
    "h": 102.5
  },
  "luminance": 0.59454
}

Semantic roles & 50–950 ramp

primary
#D8CD71
secondary
#4751A6
accent
#32C421
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8CD71

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

Preview Lab → · Contrast checker → · Palette generator →

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