#D7CD84#D7CD84

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

Color values

HEX#D7CD84
RGBrgb(215, 205, 132)
HSLhsl(53, 51%, 68%)
HSVhsv(53, 39%, 84%)
CMYKcmyk(0%, 4.7%, 38.6%, 15.7%)
CIE-LABlab(81.72, -7.02, 37.59)
CIE-LCHlch(81.72, 38.24, 100.58°)
OKLaboklab(84% -0.0186 0.0921)
OKLCHoklch(84% 0.094 101.4)
XYZxyz(54.0214, 59.7771, 30.5178)
Luminance0.5978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD84 #848ED7
analogous
#D7A384 #D7CD84 #B7D784
triadic
#D7CD84 #84D7CD #CD84D7
tetradic
#D7CD84 #84D7A3 #848ED7 #D784B7
square
#D7CD84 #84D7A3 #848ED7 #D784B7
split-complementary
#D7CD84 #84B7D7 #A384D7
monochromatic
#A99C37 #C8BA56 #D7CD84 #E6E0B2 #F5F3E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7CD84#FFFFFF#000000##000000
##D7CD841.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)
#DAC87F
Deuteranopia (green-blind)
#DDCD87
Tritanopia (blue-blind)
#E3C4BB
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d7cd84;
/* rgb */ color: rgb(215, 205, 132);
/* oklch */ color: oklch(84.0% 0.094 101.4);
Tailwind
colors: {
  custom: {
    50: '#e4dca8',
    500: '#d7cd84',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd84;
$custom-light: #e4dca8;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd84",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 132
  },
  "hsl": {
    "h": 52.771,
    "s": 50.92,
    "l": 68.039
  },
  "oklch": {
    "l": 0.83995,
    "c": 0.094,
    "h": 101.4
  },
  "luminance": 0.59776
}

Semantic roles & 50–950 ramp

primary
#D7CD84
secondary
#525DAD
accent
#39BE27
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#161510
muted
#848480

Preview Lab

Preview with #D7CD84

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

Preview Lab → · Contrast checker → · Palette generator →

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