#D2E796#D2E796

#D2E796 is a very light, moderate yellow-green. Relative luminance 0.731; OKLCH L 89.4% C 0.107 H 120.4°. Best body text is #000000 at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#D2E796
RGBrgb(210, 231, 150)
HSLhsl(76, 63%, 75%)
HSVhsv(76, 35%, 91%)
CMYKcmyk(9.1%, 0%, 35.1%, 9.4%)
CIE-LABlab(88.47, -19.84, 37.18)
CIE-LCHlch(88.47, 42.14, 118.08°)
OKLaboklab(89.37% -0.054 0.0919)
OKLCHoklch(89.37% 0.107 120.4)
XYZxyz(60.6591, 73.0556, 39.7538)
Luminance0.7306 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E796 #AB96E7
analogous
#E7D496 #D2E796 #A9E796
triadic
#D2E796 #96D2E7 #E796D2
tetradic
#D2E796 #96E7D4 #AB96E7 #E796A9
square
#D2E796 #96E7D4 #AB96E7 #E796A9
split-complementary
#D2E796 #96A9E7 #D496E7
monochromatic
#A7D032 #BDDC64 #D2E796 #E7F2C8 #F4F9E6

Accessibility & contrast

On white

1.35
#D2E796 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.61
#D2E796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E796
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E796#FFFFFF#000000##000000
##D2E7961.001.3515.6115.61
#FFFFFF1.351.0021.0021.00
#00000015.6121.001.001.00
##00000015.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DE90
Deuteranopia (green-blind)
#EEDE9A
Tritanopia (blue-blind)
#D9DFD3
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d2e796;
/* rgb */ color: rgb(210, 231, 150);
/* oklch */ color: oklch(89.4% 0.107 120.4);
Tailwind
colors: {
  custom: {
    50: '#e0eeb5',
    500: '#d2e796',
    950: '#000000',
  },
}
SCSS
$custom: #d2e796;
$custom-light: #e0eeb5;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e796",
  "rgb": {
    "r": 210,
    "g": 231,
    "b": 150
  },
  "hsl": {
    "h": 75.556,
    "s": 62.791,
    "l": 74.706
  },
  "oklch": {
    "l": 0.89365,
    "c": 0.10658,
    "h": 120.4
  },
  "luminance": 0.73055
}

Semantic roles & 50–950 ramp

primary
#D2E796
secondary
#7960C1
accent
#1BCB48
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #D2E796

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

Preview Lab → · Contrast checker → · Palette generator →

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