#D2D896#D2D896

#D2D896 is a very light, moderate yellow. Relative luminance 0.650; OKLCH L 86.2% C 0.086 H 112.4°. Best body text is #000000 at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#D2D896
RGBrgb(210, 216, 150)
HSLhsl(65, 46%, 72%)
HSVhsv(65, 31%, 85%)
CMYKcmyk(2.8%, 0%, 30.6%, 15.3%)
CIE-LABlab(84.49, -12.40, 31.94)
CIE-LCHlch(84.49, 34.26, 111.22°)
OKLaboklab(86.19% -0.0329 0.0796)
OKLCHoklch(86.19% 0.086 112.4)
XYZxyz(56.6393, 65.0160, 38.4138)
Luminance0.6502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D896 #9C96D8
analogous
#D8BD96 #D2D896 #B1D896
triadic
#D2D896 #96D2D8 #D896D2
tetradic
#D2D896 #96D8BD #9C96D8 #D896B1
square
#D2D896 #96D8BD #9C96D8 #D896B1
split-complementary
#D2D896 #96B1D8 #BD96D8
monochromatic
#A7B242 #BFC769 #D2D896 #E5E9C3 #F5F7E9

Accessibility & contrast

On white

1.50
#D2D896 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.00
#D2D896 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D896
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D896#FFFFFF#000000##000000
##D2D8961.001.5014.0014.00
#FFFFFF1.501.0021.0021.00
#00000014.0021.001.001.00
##00000014.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D292
Deuteranopia (green-blind)
#E2D499
Tritanopia (blue-blind)
#DAD0C7
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d2d896;
/* rgb */ color: rgb(210, 216, 150);
/* oklch */ color: oklch(86.2% 0.086 112.4);
Tailwind
colors: {
  custom: {
    50: '#e0e4b5',
    500: '#d2d896',
    950: '#000000',
  },
}
SCSS
$custom: #d2d896;
$custom-light: #e0e4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d896",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 150
  },
  "hsl": {
    "h": 65.455,
    "s": 45.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.86193,
    "c": 0.08615,
    "h": 112.4
  },
  "luminance": 0.65015
}

Semantic roles & 50–950 ramp

primary
#D2D896
secondary
#6A63AF
accent
#2CB939
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #D2D896

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

Preview Lab → · Contrast checker → · Palette generator →

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