#D2CB96#D2CB96

#D2CB96 is a very light, moderate yellow. Relative luminance 0.586; OKLCH L 83.5% C 0.070 H 101.4°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#D2CB96
RGBrgb(210, 203, 150)
HSLhsl(53, 40%, 71%)
HSVhsv(53, 29%, 82%)
CMYKcmyk(0%, 3.3%, 28.6%, 17.6%)
CIE-LABlab(81.08, -5.77, 27.38)
CIE-LCHlch(81.08, 27.98, 101.90°)
OKLaboklab(83.49% -0.0139 0.0688)
OKLCHoklch(83.49% 0.07 101.4)
XYZxyz(53.4396, 58.6166, 37.3473)
Luminance0.5862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB96 #969DD2
analogous
#D2AD96 #D2CB96 #BBD296
triadic
#D2CB96 #96D2CB #CB96D2
tetradic
#D2CB96 #96D2AD #969DD2 #D296BB
square
#D2CB96 #96D2AD #969DD2 #D296BB
split-complementary
#D2CB96 #96BBD2 #AD96D2
monochromatic
#A69B47 #C0B66B #D2CB96 #E4E0C1 #F6F4EA

Accessibility & contrast

On white

1.65
#D2CB96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.72
#D2CB96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CB96
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CB96#FFFFFF#000000##000000
##D2CB961.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C793
Deuteranopia (green-blind)
#D7CB98
Tritanopia (blue-blind)
#DBC4BD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2cb96;
/* rgb */ color: rgb(210, 203, 150);
/* oklch */ color: oklch(83.5% 0.070 101.4);
Tailwind
colors: {
  custom: {
    50: '#e0dab5',
    500: '#d2cb96',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb96;
$custom-light: #e0dab5;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb96",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 150
  },
  "hsl": {
    "h": 53,
    "s": 40,
    "l": 70.588
  },
  "oklch": {
    "l": 0.83488,
    "c": 0.07019,
    "h": 101.4
  },
  "luminance": 0.58616
}

Semantic roles & 50–950 ramp

primary
#D2CB96
secondary
#646CA8
accent
#41B332
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #D2CB96

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

Preview Lab → · Contrast checker → · Palette generator →

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