#D7CD79#D7CD79

#D7CD79 is a very light, moderate yellow. Relative luminance 0.595; OKLCH L 83.8% C 0.106 H 102.5°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#D7CD79
RGBrgb(215, 205, 121)
HSLhsl(54, 54%, 66%)
HSVhsv(54, 44%, 84%)
CMYKcmyk(0%, 4.7%, 43.7%, 15.7%)
CIE-LABlab(81.56, -8.18, 42.93)
CIE-LCHlch(81.56, 43.70, 100.79°)
OKLaboklab(83.82% -0.0229 0.1037)
OKLCHoklch(83.82% 0.106 102.5)
XYZxyz(53.3080, 59.4917, 26.7604)
Luminance0.5949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD79 #7983D7
analogous
#D79E79 #D7CD79 #B2D779
triadic
#D7CD79 #79D7CD #CD79D7
tetradic
#D7CD79 #79D79E #7983D7 #D779B2
square
#D7CD79 #79D79E #7983D7 #D779B2
split-complementary
#D7CD79 #79B2D7 #9E79D7
monochromatic
#A49831 #C9BB4A #D7CD79 #E5DFA8 #F3F0D7

Accessibility & contrast

On white

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

On black

12.90
#D7CD79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD79
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD79#FFFFFF#000000##000000
##D7CD791.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7cd79;
/* rgb */ color: rgb(215, 205, 121);
/* oklch */ color: oklch(83.8% 0.106 102.5);
Tailwind
colors: {
  custom: {
    50: '#e5dca1',
    500: '#d7cd79',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd79;
$custom-light: #e5dca1;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd79",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 121
  },
  "hsl": {
    "h": 53.617,
    "s": 54.023,
    "l": 65.882
  },
  "oklch": {
    "l": 0.8382,
    "c": 0.10617,
    "h": 102.5
  },
  "luminance": 0.5949
}

Semantic roles & 50–950 ramp

primary
#D7CD79
secondary
#4C56A8
accent
#35C124
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D7CD79

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

Preview Lab → · Contrast checker → · Palette generator →

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