#D8CD79#D8CD79

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

Color values

HEX#D8CD79
RGBrgb(216, 205, 121)
HSLhsl(53, 55%, 66%)
HSVhsv(53, 44%, 85%)
CMYKcmyk(0%, 5.1%, 44%, 15.3%)
CIE-LABlab(81.64, -7.78, 43.05)
CIE-LCHlch(81.64, 43.75, 100.25°)
OKLaboklab(83.91% -0.0218 0.1039)
OKLCHoklch(83.91% 0.106 101.8)
XYZxyz(53.6026, 59.6437, 26.7742)
Luminance0.5964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD79 #7984D8
analogous
#D89D79 #D8CD79 #B3D879
triadic
#D8CD79 #79D8CD #CD79D8
tetradic
#D8CD79 #79D89D #7984D8 #D879B3
square
#D8CD79 #79D89D #7984D8 #D879B3
split-complementary
#D8CD79 #79B3D8 #9D79D8
monochromatic
#A69930 #CABB4A #D8CD79 #E6DFA8 #F4F0D8

Accessibility & contrast

On white

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

On black

12.93
#D8CD79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD79
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD79#FFFFFF#000000##000000
##D8CD791.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC872
Deuteranopia (green-blind)
#DECD7D
Tritanopia (blue-blind)
#E5C3B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d8cd79;
/* rgb */ color: rgb(216, 205, 121);
/* oklch */ color: oklch(83.9% 0.106 101.8);
Tailwind
colors: {
  custom: {
    50: '#e6dca1',
    500: '#d8cd79',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd79;
$custom-light: #e6dca1;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd79",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 121
  },
  "hsl": {
    "h": 53.053,
    "s": 54.913,
    "l": 66.078
  },
  "oklch": {
    "l": 0.83906,
    "c": 0.10619,
    "h": 101.8
  },
  "luminance": 0.59642
}

Semantic roles & 50–950 ramp

primary
#D8CD79
secondary
#4B56AA
accent
#36C223
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D8CD79

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

Preview Lab → · Contrast checker → · Palette generator →

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