#D3E796#D3E796

#D3E796 is a very light, moderate yellow-green. Relative luminance 0.732; OKLCH L 89.4% C 0.106 H 119.9°. Best body text is #000000 at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#D3E796
RGBrgb(211, 231, 150)
HSLhsl(75, 63%, 75%)
HSVhsv(75, 35%, 91%)
CMYKcmyk(8.7%, 0%, 35.1%, 9.4%)
CIE-LABlab(88.54, -19.46, 37.29)
CIE-LCHlch(88.54, 42.06, 117.57°)
OKLaboklab(89.44% -0.053 0.0921)
OKLCHoklch(89.44% 0.106 119.9)
XYZxyz(60.9448, 73.2029, 39.7672)
Luminance0.7320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3E796 #AA96E7
analogous
#E7D396 #D3E796 #ABE796
triadic
#D3E796 #96D3E7 #E796D3
tetradic
#D3E796 #96E7D3 #AA96E7 #E796AB
square
#D3E796 #96E7D3 #AA96E7 #E796AB
split-complementary
#D3E796 #96ABE7 #D396E7
monochromatic
#A9D032 #BEDC64 #D3E796 #E8F2C8 #F5F9E6

Accessibility & contrast

On white

1.34
#D3E796 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.64
#D3E796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3E796
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3E796#FFFFFF#000000##000000
##D3E7961.001.3415.6415.64
#FFFFFF1.341.0021.0021.00
#00000015.6421.001.001.00
##00000015.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3e796;
/* rgb */ color: rgb(211, 231, 150);
/* oklch */ color: oklch(89.4% 0.106 119.9);
Tailwind
colors: {
  custom: {
    50: '#e1eeb5',
    500: '#d3e796',
    950: '#000000',
  },
}
SCSS
$custom: #d3e796;
$custom-light: #e1eeb5;
$custom-dark: #000000;
JSON
{
  "hex": "#d3e796",
  "rgb": {
    "r": 211,
    "g": 231,
    "b": 150
  },
  "hsl": {
    "h": 74.815,
    "s": 62.791,
    "l": 74.706
  },
  "oklch": {
    "l": 0.89439,
    "c": 0.10628,
    "h": 119.9
  },
  "luminance": 0.73203
}

Semantic roles & 50–950 ramp

primary
#D3E796
secondary
#7860C1
accent
#1BCB46
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #D3E796

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

Preview Lab → · Contrast checker → · Palette generator →

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