#D9CD79#D9CD79

#D9CD79 is a very light, moderate yellow. Relative luminance 0.598; OKLCH L 84.0% C 0.106 H 101.2°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#D9CD79
RGBrgb(217, 205, 121)
HSLhsl(53, 56%, 66%)
HSVhsv(53, 44%, 85%)
CMYKcmyk(0%, 5.5%, 44.2%, 14.9%)
CIE-LABlab(81.73, -7.38, 43.17)
CIE-LCHlch(81.73, 43.80, 99.70°)
OKLaboklab(83.99% -0.0207 0.1042)
OKLCHoklch(83.99% 0.106 101.2)
XYZxyz(53.8990, 59.7965, 26.7881)
Luminance0.5979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD79 #7985D9
analogous
#D99D79 #D9CD79 #B5D979
triadic
#D9CD79 #79D9CD #CD79D9
tetradic
#D9CD79 #79D99D #7985D9 #D979B5
square
#D9CD79 #79D99D #7985D9 #D979B5
split-complementary
#D9CD79 #79B5D9 #9D79D9
monochromatic
#A89930 #CBBB49 #D9CD79 #E7DFA9 #F4F1D8

Accessibility & contrast

On white

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

On black

12.96
#D9CD79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CD79
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CD79#FFFFFF#000000##000000
##D9CD791.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9cd79;
/* rgb */ color: rgb(217, 205, 121);
/* oklch */ color: oklch(84.0% 0.106 101.2);
Tailwind
colors: {
  custom: {
    50: '#e6dca1',
    500: '#d9cd79',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd79;
$custom-light: #e6dca1;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd79",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 121
  },
  "hsl": {
    "h": 52.5,
    "s": 55.814,
    "l": 66.275
  },
  "oklch": {
    "l": 0.83992,
    "c": 0.10622,
    "h": 101.2
  },
  "luminance": 0.59795
}

Semantic roles & 50–950 ramp

primary
#D9CD79
secondary
#4B57AB
accent
#36C322
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D9CD79

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

Preview Lab → · Contrast checker → · Palette generator →

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