#D2E397#D2E397

#D2E397 is a very light, moderate yellow-green. Relative luminance 0.709; OKLCH L 88.5% C 0.100 H 118.7°. Best body text is #000000 at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#D2E397
RGBrgb(210, 227, 151)
HSLhsl(73, 58%, 74%)
HSVhsv(73, 33%, 89%)
CMYKcmyk(7.5%, 0%, 33.5%, 11%)
CIE-LABlab(87.42, -17.75, 35.30)
CIE-LCHlch(87.42, 39.52, 116.69°)
OKLaboklab(88.53% -0.048 0.0876)
OKLCHoklch(88.53% 0.1 118.7)
XYZxyz(59.6332, 70.8744, 39.8107)
Luminance0.7087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E397 #A897E3
analogous
#E3CE97 #D2E397 #ACE397
triadic
#D2E397 #97D2E3 #E397D2
tetradic
#D2E397 #97E3CE #A897E3 #E397AC
square
#D2E397 #97E3CE #A897E3 #E397AC
split-complementary
#D2E397 #97ACE3 #CE97E3
monochromatic
#A8C937 #BDD667 #D2E397 #E7F0C7 #F5F9E7

Accessibility & contrast

On white

1.38
#D2E397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.17
#D2E397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E397
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E397#FFFFFF#000000##000000
##D2E3971.001.3815.1715.17
#FFFFFF1.381.0021.0021.00
#00000015.1721.001.001.00
##00000015.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDDB92
Deuteranopia (green-blind)
#EBDB9A
Tritanopia (blue-blind)
#D9DBD0
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d2e397;
/* rgb */ color: rgb(210, 227, 151);
/* oklch */ color: oklch(88.5% 0.100 118.7);
Tailwind
colors: {
  custom: {
    50: '#e0ebb6',
    500: '#d2e397',
    950: '#000000',
  },
}
SCSS
$custom: #d2e397;
$custom-light: #e0ebb6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e397",
  "rgb": {
    "r": 210,
    "g": 227,
    "b": 151
  },
  "hsl": {
    "h": 73.421,
    "s": 57.576,
    "l": 74.118
  },
  "oklch": {
    "l": 0.88532,
    "c": 0.09986,
    "h": 118.7
  },
  "luminance": 0.70874
}

Semantic roles & 50–950 ramp

primary
#D2E397
secondary
#7662BC
accent
#20C545
background
#FEFEFD
surface
#FCFDF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #D2E397

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

Preview Lab → · Contrast checker → · Palette generator →

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