#D2CA96#D2CA96

#D2CA96 is a very light, moderate yellow. Relative luminance 0.581; OKLCH L 83.3% C 0.069 H 100.4°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#D2CA96
RGBrgb(210, 202, 150)
HSLhsl(52, 40%, 71%)
HSVhsv(52, 29%, 82%)
CMYKcmyk(0%, 3.8%, 28.6%, 17.6%)
CIE-LABlab(80.82, -5.26, 27.03)
CIE-LCHlch(80.82, 27.53, 101.00°)
OKLaboklab(83.28% -0.0124 0.068)
OKLCHoklch(83.28% 0.069 100.4)
XYZxyz(53.2042, 58.1458, 37.2688)
Luminance0.5815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA96 #969ED2
analogous
#D2AC96 #D2CA96 #BCD296
triadic
#D2CA96 #96D2CA #CA96D2
tetradic
#D2CA96 #96D2AC #969ED2 #D296BC
square
#D2CA96 #96D2AC #969ED2 #D296BC
split-complementary
#D2CA96 #96BCD2 #AC96D2
monochromatic
#A69A47 #C0B46B #D2CA96 #E4E0C1 #F6F4EA

Accessibility & contrast

On white

1.66
#D2CA96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#D2CA96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA96
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA96#FFFFFF#000000##000000
##D2CA961.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C793
Deuteranopia (green-blind)
#D6CA98
Tritanopia (blue-blind)
#DBC3BC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2ca96;
/* rgb */ color: rgb(210, 202, 150);
/* oklch */ color: oklch(83.3% 0.069 100.4);
Tailwind
colors: {
  custom: {
    50: '#e0dab5',
    500: '#d2ca96',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca96;
$custom-light: #e0dab5;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca96",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 150
  },
  "hsl": {
    "h": 52,
    "s": 40,
    "l": 70.588
  },
  "oklch": {
    "l": 0.83282,
    "c": 0.06909,
    "h": 100.4
  },
  "luminance": 0.58145
}

Semantic roles & 50–950 ramp

primary
#D2CA96
secondary
#646DA8
accent
#44B332
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #D2CA96

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

Preview Lab → · Contrast checker → · Palette generator →

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