#D2C596#D2C596

#D2C596 is a very light, moderate yellow. Relative luminance 0.558; OKLCH L 82.3% C 0.064 H 94.5°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#D2C596
RGBrgb(210, 197, 150)
HSLhsl(47, 40%, 71%)
HSVhsv(47, 29%, 82%)
CMYKcmyk(0%, 6.2%, 28.6%, 17.6%)
CIE-LABlab(79.52, -2.66, 25.27)
CIE-LCHlch(79.52, 25.41, 96.01°)
OKLaboklab(82.26% -0.005 0.0638)
OKLCHoklch(82.26% 0.064 94.5)
XYZxyz(52.0500, 55.8374, 36.8841)
Luminance0.5584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C596 #96A3D2
analogous
#D2A796 #D2C596 #C1D296
triadic
#D2C596 #96D2C5 #C596D2
tetradic
#D2C596 #96D2A7 #96A3D2 #D296C1
square
#D2C596 #96D2A7 #96A3D2 #D296C1
split-complementary
#D2C596 #96C1D2 #A796D2
monochromatic
#A69247 #C0AD6B #D2C596 #E4DDC1 #F6F3EA

Accessibility & contrast

On white

1.73
#D2C596 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#D2C596 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C596
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C596#FFFFFF#000000##000000
##D2C5961.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC393
Deuteranopia (green-blind)
#D2C798
Tritanopia (blue-blind)
#DBBEB8
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c596;
/* rgb */ color: rgb(210, 197, 150);
/* oklch */ color: oklch(82.3% 0.064 94.5);
Tailwind
colors: {
  custom: {
    50: '#e0d6b5',
    500: '#d2c596',
    950: '#000000',
  },
}
SCSS
$custom: #d2c596;
$custom-light: #e0d6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c596",
  "rgb": {
    "r": 210,
    "g": 197,
    "b": 150
  },
  "hsl": {
    "h": 47,
    "s": 40,
    "l": 70.588
  },
  "oklch": {
    "l": 0.82256,
    "c": 0.06394,
    "h": 94.5
  },
  "luminance": 0.55836
}

Semantic roles & 50–950 ramp

primary
#D2C596
secondary
#6473A8
accent
#4EB332
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #D2C596

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

Preview Lab → · Contrast checker → · Palette generator →

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