#D4CD96#D4CD96

#D4CD96 is a very light, moderate yellow. Relative luminance 0.599; OKLCH L 84.1% C 0.073 H 101.7°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#D4CD96
RGBrgb(212, 205, 150)
HSLhsl(53, 42%, 71%)
HSVhsv(53, 29%, 83%)
CMYKcmyk(0%, 3.3%, 29.2%, 16.9%)
CIE-LABlab(81.76, -6.03, 28.33)
CIE-LCHlch(81.76, 28.96, 102.03°)
OKLaboklab(84.07% -0.0147 0.0711)
OKLCHoklch(84.07% 0.073 101.7)
XYZxyz(54.4881, 59.8628, 37.5326)
Luminance0.5986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD96 #969DD4
analogous
#D4AE96 #D4CD96 #BCD496
triadic
#D4CD96 #96D4CD #CD96D4
tetradic
#D4CD96 #96D4AE #969DD4 #D496BC
square
#D4CD96 #96D4AE #969DD4 #D496BC
split-complementary
#D4CD96 #96BCD4 #AE96D4
monochromatic
#AA9F46 #C2B86B #D4CD96 #E6E2C1 #F6F5E9

Accessibility & contrast

On white

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

On black

12.97
#D4CD96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CD96
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CD96#FFFFFF#000000##000000
##D4CD961.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C992
Deuteranopia (green-blind)
#DACD98
Tritanopia (blue-blind)
#DDC6BE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d4cd96;
/* rgb */ color: rgb(212, 205, 150);
/* oklch */ color: oklch(84.1% 0.073 101.7);
Tailwind
colors: {
  custom: {
    50: '#e2dcb5',
    500: '#d4cd96',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd96;
$custom-light: #e2dcb5;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd96",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 150
  },
  "hsl": {
    "h": 53.226,
    "s": 41.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.84068,
    "c": 0.07256,
    "h": 101.7
  },
  "luminance": 0.59862
}

Semantic roles & 50–950 ramp

primary
#D4CD96
secondary
#646CAA
accent
#3FB531
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #D4CD96

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

Preview Lab → · Contrast checker → · Palette generator →

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