#D5CD96#D5CD96

#D5CD96 is a very light, moderate yellow. Relative luminance 0.600; OKLCH L 84.2% C 0.073 H 100.8°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#D5CD96
RGBrgb(213, 205, 150)
HSLhsl(52, 43%, 71%)
HSVhsv(52, 30%, 84%)
CMYKcmyk(0%, 3.8%, 29.6%, 16.5%)
CIE-LABlab(81.84, -5.65, 28.45)
CIE-LCHlch(81.84, 29.01, 101.23°)
OKLaboklab(84.15% -0.0136 0.0713)
OKLCHoklch(84.15% 0.073 100.8)
XYZxyz(54.7773, 60.0120, 37.5461)
Luminance0.6001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD96 #969ED5
analogous
#D5AD96 #D5CD96 #BDD596
triadic
#D5CD96 #96D5CD #CD96D5
tetradic
#D5CD96 #96D5AD #969ED5 #D596BD
square
#D5CD96 #96D5AD #969ED5 #D596BD
split-complementary
#D5CD96 #96BDD5 #AD96D5
monochromatic
#AC9F45 #C4B86A #D5CD96 #E6E2C2 #F6F5E9

Accessibility & contrast

On white

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

On black

13.00
#D5CD96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD96
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD96#FFFFFF#000000##000000
##D5CD961.001.6213.0013.00
#FFFFFF1.621.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5cd96;
/* rgb */ color: rgb(213, 205, 150);
/* oklch */ color: oklch(84.2% 0.073 100.8);
Tailwind
colors: {
  custom: {
    50: '#e2dcb5',
    500: '#d5cd96',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd96;
$custom-light: #e2dcb5;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd96",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 150
  },
  "hsl": {
    "h": 52.381,
    "s": 42.857,
    "l": 71.176
  },
  "oklch": {
    "l": 0.84151,
    "c": 0.07263,
    "h": 100.8
  },
  "luminance": 0.60011
}

Semantic roles & 50–950 ramp

primary
#D5CD96
secondary
#646DAB
accent
#41B630
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #D5CD96

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

Preview Lab → · Contrast checker → · Palette generator →

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