#D4CD84#D4CD84

#D4CD84 is a very light, moderate yellow. Relative luminance 0.593; OKLCH L 83.7% C 0.094 H 103.5°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#D4CD84
RGBrgb(212, 205, 132)
HSLhsl(55, 48%, 67%)
HSVhsv(55, 38%, 83%)
CMYKcmyk(0%, 3.3%, 37.7%, 16.9%)
CIE-LABlab(81.47, -8.21, 37.23)
CIE-LCHlch(81.47, 38.12, 102.43°)
OKLaboklab(83.74% -0.0219 0.0913)
OKLCHoklch(83.74% 0.094 103.5)
XYZxyz(53.1484, 59.3269, 30.4768)
Luminance0.5933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD84 #848BD4
analogous
#D4A584 #D4CD84 #B3D484
triadic
#D4CD84 #84D4CD #CD84D4
tetradic
#D4CD84 #84D4A5 #848BD4 #D484B3
square
#D4CD84 #84D4A5 #848BD4 #D484B3
split-complementary
#D4CD84 #84B3D4 #A584D4
monochromatic
#A49B39 #C4BB57 #D4CD84 #E4DFB1 #F4F2DF

Accessibility & contrast

On white

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

On black

12.87
#D4CD84 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CD84
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CD84#FFFFFF#000000##000000
##D4CD841.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C87F
Deuteranopia (green-blind)
#DCCC87
Tritanopia (blue-blind)
#DFC4BB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4cd84;
/* rgb */ color: rgb(212, 205, 132);
/* oklch */ color: oklch(83.7% 0.094 103.5);
Tailwind
colors: {
  custom: {
    50: '#e2dca8',
    500: '#d4cd84',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd84;
$custom-light: #e2dca8;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd84",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 132
  },
  "hsl": {
    "h": 54.75,
    "s": 48.193,
    "l": 67.451
  },
  "oklch": {
    "l": 0.8374,
    "c": 0.09391,
    "h": 103.5
  },
  "luminance": 0.59326
}

Semantic roles & 50–950 ramp

primary
#D4CD84
secondary
#545BA9
accent
#37BB2A
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151510
muted
#848480

Preview Lab

Preview with #D4CD84

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

Preview Lab → · Contrast checker → · Palette generator →

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