#D2E997#D2E997

#D2E997 is a very light, moderate yellow-green. Relative luminance 0.742; OKLCH L 89.8% C 0.108 H 121.4°. Best body text is #000000 at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#D2E997
RGBrgb(210, 233, 151)
HSLhsl(77, 65%, 75%)
HSVhsv(77, 35%, 91%)
CMYKcmyk(9.9%, 0%, 35.2%, 8.6%)
CIE-LABlab(89.02, -20.69, 37.40)
CIE-LCHlch(89.02, 42.74, 118.95°)
OKLaboklab(89.81% -0.0563 0.0924)
OKLCHoklch(89.81% 0.108 121.4)
XYZxyz(61.3029, 74.2139, 40.3673)
Luminance0.7421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E997 #AE97E9
analogous
#E9D797 #D2E997 #A9E997
triadic
#D2E997 #97D2E9 #E997D2
tetradic
#D2E997 #97E9D7 #AE97E9 #E997A9
square
#D2E997 #97E9D7 #AE97E9 #E997A9
split-complementary
#D2E997 #97A9E9 #D797E9
monochromatic
#A6D432 #BCDE64 #D2E997 #E8F4CA #F4FAE6

Accessibility & contrast

On white

1.33
#D2E997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.84
#D2E997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E997
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E997#FFFFFF#000000##000000
##D2E9971.001.3315.8415.84
#FFFFFF1.331.0021.0021.00
#00000015.8421.001.001.00
##00000015.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3E091
Deuteranopia (green-blind)
#F0E09B
Tritanopia (blue-blind)
#D9E1D4
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d2e997;
/* rgb */ color: rgb(210, 233, 151);
/* oklch */ color: oklch(89.8% 0.108 121.4);
Tailwind
colors: {
  custom: {
    50: '#e0f0b6',
    500: '#d2e997',
    950: '#000000',
  },
}
SCSS
$custom: #d2e997;
$custom-light: #e0f0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e997",
  "rgb": {
    "r": 210,
    "g": 233,
    "b": 151
  },
  "hsl": {
    "h": 76.829,
    "s": 65.079,
    "l": 75.294
  },
  "oklch": {
    "l": 0.89809,
    "c": 0.10826,
    "h": 121.4
  },
  "luminance": 0.74214
}

Semantic roles & 50–950 ramp

primary
#D2E997
secondary
#7C60C4
accent
#19CD4B
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #D2E997

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

Preview Lab → · Contrast checker → · Palette generator →

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