#D2EA97#D2EA97

#D2EA97 is a very light, moderate yellow-green. Relative luminance 0.748; OKLCH L 90.0% C 0.110 H 121.8°. Best body text is #000000 at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#D2EA97
RGBrgb(210, 234, 151)
HSLhsl(77, 66%, 75%)
HSVhsv(77, 35%, 92%)
CMYKcmyk(10.3%, 0%, 35.5%, 8.2%)
CIE-LABlab(89.29, -21.17, 37.75)
CIE-LCHlch(89.29, 43.28, 119.29°)
OKLaboklab(90.02% -0.0577 0.0933)
OKLCHoklch(90.02% 0.11 121.8)
XYZxyz(61.5868, 74.7816, 40.4619)
Luminance0.7478 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EA97 #AF97EA
analogous
#EAD897 #D2EA97 #A8EA97
triadic
#D2EA97 #97D2EA #EA97D2
tetradic
#D2EA97 #97EAD8 #AF97EA #EA97A8
square
#D2EA97 #97EAD8 #AF97EA #EA97A8
split-complementary
#D2EA97 #97A8EA #D897EA
monochromatic
#A6D531 #BCE064 #D2EA97 #E8F4CA #F4FAE6

Accessibility & contrast

On white

1.32
#D2EA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.96
#D2EA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EA97
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EA97#FFFFFF#000000##000000
##D2EA971.001.3215.9615.96
#FFFFFF1.321.0021.0021.00
#00000015.9621.001.001.00
##00000015.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2ea97;
/* rgb */ color: rgb(210, 234, 151);
/* oklch */ color: oklch(90.0% 0.110 121.8);
Tailwind
colors: {
  custom: {
    50: '#e0f0b6',
    500: '#d2ea97',
    950: '#000000',
  },
}
SCSS
$custom: #d2ea97;
$custom-light: #e0f0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ea97",
  "rgb": {
    "r": 210,
    "g": 234,
    "b": 151
  },
  "hsl": {
    "h": 77.349,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.90022,
    "c": 0.10966,
    "h": 121.8
  },
  "luminance": 0.74782
}

Semantic roles & 50–950 ramp

primary
#D2EA97
secondary
#7D60C5
accent
#17CE4C
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #D2EA97

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

Preview Lab → · Contrast checker → · Palette generator →

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