#D8CD78#D8CD78

#D8CD78 is a very light, moderate yellow. Relative luminance 0.596; OKLCH L 83.9% C 0.107 H 101.9°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#D8CD78
RGBrgb(216, 205, 120)
HSLhsl(53, 55%, 66%)
HSVhsv(53, 44%, 85%)
CMYKcmyk(0%, 5.1%, 44.4%, 15.3%)
CIE-LABlab(81.63, -7.88, 43.53)
CIE-LCHlch(81.63, 44.24, 100.26°)
OKLaboklab(83.89% -0.0222 0.1049)
OKLCHoklch(83.89% 0.107 101.9)
XYZxyz(53.5416, 59.6193, 26.4529)
Luminance0.5962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD78 #7883D8
analogous
#D89D78 #D8CD78 #B3D878
triadic
#D8CD78 #78D8CD #CD78D8
tetradic
#D8CD78 #78D89D #7883D8 #D878B3
square
#D8CD78 #78D89D #7883D8 #D878B3
split-complementary
#D8CD78 #78B3D8 #9D78D8
monochromatic
#A69830 #CABB49 #D8CD78 #E6DFA7 #F3F0D7

Accessibility & contrast

On white

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

On black

12.92
#D8CD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD78
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD78#FFFFFF#000000##000000
##D8CD781.001.6212.9212.92
#FFFFFF1.621.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC871
Deuteranopia (green-blind)
#DFCD7C
Tritanopia (blue-blind)
#E5C2B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d8cd78;
/* rgb */ color: rgb(216, 205, 120);
/* oklch */ color: oklch(83.9% 0.107 101.9);
Tailwind
colors: {
  custom: {
    50: '#e6dca0',
    500: '#d8cd78',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd78;
$custom-light: #e6dca0;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd78",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 120
  },
  "hsl": {
    "h": 53.125,
    "s": 55.172,
    "l": 65.882
  },
  "oklch": {
    "l": 0.83891,
    "c": 0.10726,
    "h": 101.9
  },
  "luminance": 0.59618
}

Semantic roles & 50–950 ramp

primary
#D8CD78
secondary
#4B56A9
accent
#35C323
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D8CD78

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

Preview Lab → · Contrast checker → · Palette generator →

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