#D2D396#D2D396

#D2D396 is a very light, moderate yellow. Relative luminance 0.625; OKLCH L 85.1% C 0.080 H 108.8°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#D2D396
RGBrgb(210, 211, 150)
HSLhsl(61, 41%, 71%)
HSVhsv(61, 29%, 83%)
CMYKcmyk(0.5%, 0%, 28.9%, 17.3%)
CIE-LABlab(83.17, -9.87, 30.19)
CIE-LCHlch(83.17, 31.76, 108.10°)
OKLaboklab(85.15% -0.0256 0.0755)
OKLCHoklch(85.15% 0.08 108.8)
XYZxyz(55.3778, 62.4930, 37.9933)
Luminance0.6249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D396 #9796D3
analogous
#D3B596 #D2D396 #B3D396
triadic
#D2D396 #96D2D3 #D396D2
tetradic
#D2D396 #96D3B5 #9796D3 #D396B3
square
#D2D396 #96D3B5 #9796D3 #D396B3
split-complementary
#D2D396 #96B3D3 #B596D3
monochromatic
#A7A846 #C0C16B #D2D396 #E4E5C1 #F6F6E9

Accessibility & contrast

On white

1.56
#D2D396 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#D2D396 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D396
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D396#FFFFFF#000000##000000
##D2D3961.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCE92
Deuteranopia (green-blind)
#DED098
Tritanopia (blue-blind)
#DACCC3
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d396;
/* rgb */ color: rgb(210, 211, 150);
/* oklch */ color: oklch(85.1% 0.080 108.8);
Tailwind
colors: {
  custom: {
    50: '#e0e0b5',
    500: '#d2d396',
    950: '#000000',
  },
}
SCSS
$custom: #d2d396;
$custom-light: #e0e0b5;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d396",
  "rgb": {
    "r": 210,
    "g": 211,
    "b": 150
  },
  "hsl": {
    "h": 60.984,
    "s": 40.94,
    "l": 70.784
  },
  "oklch": {
    "l": 0.85147,
    "c": 0.07972,
    "h": 108.8
  },
  "luminance": 0.62492
}

Semantic roles & 50–950 ramp

primary
#D2D396
secondary
#6564A9
accent
#32B434
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #D2D396

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

Preview Lab → · Contrast checker → · Palette generator →

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