#D2D596#D2D596

#D2D596 is a very light, moderate yellow. Relative luminance 0.635; OKLCH L 85.6% C 0.082 H 110.3°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#D2D596
RGBrgb(210, 213, 150)
HSLhsl(63, 43%, 71%)
HSVhsv(63, 30%, 84%)
CMYKcmyk(1.4%, 0%, 29.6%, 16.5%)
CIE-LABlab(83.70, -10.88, 30.89)
CIE-LCHlch(83.70, 32.75, 109.41°)
OKLaboklab(85.56% -0.0285 0.0772)
OKLCHoklch(85.56% 0.082 110.3)
XYZxyz(55.8778, 63.4929, 38.1600)
Luminance0.6349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D596 #9996D5
analogous
#D5B896 #D2D596 #B2D596
triadic
#D2D596 #96D2D5 #D596D2
tetradic
#D2D596 #96D5B8 #9996D5 #D596B2
square
#D2D596 #96D5B8 #9996D5 #D596B2
split-complementary
#D2D596 #96B2D5 #B896D5
monochromatic
#A7AC45 #BFC46A #D2D596 #E5E6C2 #F6F6E9

Accessibility & contrast

On white

1.53
#D2D596 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.70
#D2D596 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D596
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D596#FFFFFF#000000##000000
##D2D5961.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCF92
Deuteranopia (green-blind)
#DFD299
Tritanopia (blue-blind)
#DACDC5
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d596;
/* rgb */ color: rgb(210, 213, 150);
/* oklch */ color: oklch(85.6% 0.082 110.3);
Tailwind
colors: {
  custom: {
    50: '#e0e1b5',
    500: '#d2d596',
    950: '#000000',
  },
}
SCSS
$custom: #d2d596;
$custom-light: #e0e1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d596",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 150
  },
  "hsl": {
    "h": 62.857,
    "s": 42.857,
    "l": 71.176
  },
  "oklch": {
    "l": 0.85564,
    "c": 0.08226,
    "h": 110.3
  },
  "luminance": 0.63492
}

Semantic roles & 50–950 ramp

primary
#D2D596
secondary
#6764AB
accent
#30B636
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #D2D596

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

Preview Lab → · Contrast checker → · Palette generator →

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