#D8CE71#D8CE71

#D8CE71 is a very light, moderate yellow. Relative luminance 0.599; OKLCH L 84.0% C 0.116 H 103.1°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#D8CE71
RGBrgb(216, 206, 113)
HSLhsl(54, 57%, 65%)
HSVhsv(54, 48%, 85%)
CMYKcmyk(0%, 4.6%, 47.7%, 15.3%)
CIE-LABlab(81.80, -9.06, 47.18)
CIE-LCHlch(81.80, 48.05, 100.87°)
OKLaboklab(84% -0.0262 0.1126)
OKLCHoklch(84% 0.116 103.1)
XYZxyz(53.3722, 59.9354, 24.3768)
Luminance0.5993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CE71 #717BD8
analogous
#D89B71 #D8CE71 #AFD871
triadic
#D8CE71 #71D8CE #CE71D8
tetradic
#D8CE71 #71D89B #717BD8 #D871AF
square
#D8CE71 #71D89B #717BD8 #D871AF
split-complementary
#D8CE71 #71AFD8 #9B71D8
monochromatic
#A2972D #CBBD41 #D8CE71 #E5DFA1 #F2EFD1

Accessibility & contrast

On white

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

On black

12.99
#D8CE71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CE71
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CE71#FFFFFF#000000##000000
##D8CE711.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC869
Deuteranopia (green-blind)
#E0CE75
Tritanopia (blue-blind)
#E5C3B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d8ce71;
/* rgb */ color: rgb(216, 206, 113);
/* oklch */ color: oklch(84.0% 0.116 103.1);
Tailwind
colors: {
  custom: {
    50: '#e6dc9c',
    500: '#d8ce71',
    950: '#000000',
  },
}
SCSS
$custom: #d8ce71;
$custom-light: #e6dc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ce71",
  "rgb": {
    "r": 216,
    "g": 206,
    "b": 113
  },
  "hsl": {
    "h": 54.175,
    "s": 56.906,
    "l": 64.51
  },
  "oklch": {
    "l": 0.83999,
    "c": 0.11559,
    "h": 103.1
  },
  "luminance": 0.59934
}

Semantic roles & 50–950 ramp

primary
#D8CE71
secondary
#4751A6
accent
#31C421
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8CE71

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

Preview Lab → · Contrast checker → · Palette generator →

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