#D8CD6D#D8CD6D

#D8CD6D is a very light, moderate yellow. Relative luminance 0.594; OKLCH L 83.7% C 0.119 H 102.8°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#D8CD6D
RGBrgb(216, 205, 109)
HSLhsl(54, 58%, 64%)
HSVhsv(54, 50%, 85%)
CMYKcmyk(0%, 5.1%, 49.5%, 15.3%)
CIE-LABlab(81.49, -8.91, 48.74)
CIE-LCHlch(81.49, 49.55, 100.36°)
OKLaboklab(83.74% -0.0262 0.1157)
OKLCHoklch(83.74% 0.119 102.8)
XYZxyz(52.9120, 59.3674, 23.1369)
Luminance0.5937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD6D #6D78D8
analogous
#D8976D #D8CD6D #ADD86D
triadic
#D8CD6D #6DD8CD #CD6DD8
tetradic
#D8CD6D #6DD897 #6D78D8 #D86DAD
square
#D8CD6D #6DD897 #6D78D8 #D86DAD
split-complementary
#D8CD6D #6DADD8 #976DD8
monochromatic
#A0942B #CBBC3D #D8CD6D #E5DE9D #F2EECE

Accessibility & contrast

On white

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

On black

12.87
#D8CD6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD6D
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD6D#FFFFFF#000000##000000
##D8CD6D1.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8cd6d;
/* rgb */ color: rgb(216, 205, 109);
/* oklch */ color: oklch(83.7% 0.119 102.8);
Tailwind
colors: {
  custom: {
    50: '#e6dc99',
    500: '#d8cd6d',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd6d;
$custom-light: #e6dc99;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd6d",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 109
  },
  "hsl": {
    "h": 53.832,
    "s": 57.838,
    "l": 63.725
  },
  "oklch": {
    "l": 0.83737,
    "c": 0.11861,
    "h": 102.8
  },
  "luminance": 0.59366
}

Semantic roles & 50–950 ramp

primary
#D8CD6D
secondary
#454FA4
accent
#31C520
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8CD6D

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

Preview Lab → · Contrast checker → · Palette generator →

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