#D8CD6E#D8CD6E

#D8CD6E is a very light, moderate yellow. Relative luminance 0.594; OKLCH L 83.8% C 0.118 H 102.7°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#D8CD6E
RGBrgb(216, 205, 110)
HSLhsl(54, 58%, 64%)
HSVhsv(54, 49%, 85%)
CMYKcmyk(0%, 5.1%, 49.1%, 15.3%)
CIE-LABlab(81.50, -8.82, 48.28)
CIE-LCHlch(81.50, 49.08, 100.36°)
OKLaboklab(83.75% -0.0258 0.1147)
OKLCHoklch(83.75% 0.118 102.7)
XYZxyz(52.9661, 59.3891, 23.4220)
Luminance0.5939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD6E #6E79D8
analogous
#D8986E #D8CD6E #AED86E
triadic
#D8CD6E #6ED8CD #CD6ED8
tetradic
#D8CD6E #6ED898 #6E79D8 #D86EAE
square
#D8CD6E #6ED898 #6E79D8 #D86EAE
split-complementary
#D8CD6E #6EAED8 #986ED8
monochromatic
#A0942B #CBBC3E #D8CD6E #E5DE9E #F2EECE

Accessibility & contrast

On white

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

On black

12.88
#D8CD6E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD6E
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD6E#FFFFFF#000000##000000
##D8CD6E1.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC766
Deuteranopia (green-blind)
#E0CD72
Tritanopia (blue-blind)
#E6C2B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d8cd6e;
/* rgb */ color: rgb(216, 205, 110);
/* oklch */ color: oklch(83.8% 0.118 102.7);
Tailwind
colors: {
  custom: {
    50: '#e6dc9a',
    500: '#d8cd6e',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd6e;
$custom-light: #e6dc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd6e",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 110
  },
  "hsl": {
    "h": 53.774,
    "s": 57.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.83751,
    "c": 0.11762,
    "h": 102.7
  },
  "luminance": 0.59387
}

Semantic roles & 50–950 ramp

primary
#D8CD6E
secondary
#4650A4
accent
#31C520
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8CD6E

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

Preview Lab → · Contrast checker → · Palette generator →

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