#D2EF97#D2EF97

#D2EF97 is a very light, moderate yellow-green. Relative luminance 0.777; OKLCH L 91.1% C 0.117 H 123.5°. Best body text is #000000 at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#D2EF97
RGBrgb(210, 239, 151)
HSLhsl(80, 73%, 76%)
HSVhsv(80, 37%, 94%)
CMYKcmyk(12.1%, 0%, 36.8%, 6.3%)
CIE-LABlab(90.63, -23.59, 39.49)
CIE-LCHlch(90.63, 45.99, 120.85°)
OKLaboklab(91.09% -0.0645 0.0973)
OKLCHoklch(91.09% 0.117 123.5)
XYZxyz(63.0304, 77.6688, 40.9431)
Luminance0.7767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EF97 #B497EF
analogous
#EFE097 #D2EF97 #A6EF97
triadic
#D2EF97 #97D2EF #EF97D2
tetradic
#D2EF97 #97EFE0 #B497EF #EF97A6
square
#D2EF97 #97EFE0 #B497EF #EF97A6
split-complementary
#D2EF97 #97A6EF #E097EF
monochromatic
#A4DF2D #BBE762 #D2EF97 #E9F7CC #F4FBE4

Accessibility & contrast

On white

1.27
#D2EF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.53
#D2EF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EF97
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EF97#FFFFFF#000000##000000
##D2EF971.001.2716.5316.53
#FFFFFF1.271.0021.0021.00
#00000016.5321.001.001.00
##00000016.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E591
Deuteranopia (green-blind)
#F5E49B
Tritanopia (blue-blind)
#D8E7D9
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d2ef97;
/* rgb */ color: rgb(210, 239, 151);
/* oklch */ color: oklch(91.1% 0.117 123.5);
Tailwind
colors: {
  custom: {
    50: '#e1f4b6',
    500: '#d2ef97',
    950: '#000000',
  },
}
SCSS
$custom: #d2ef97;
$custom-light: #e1f4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ef97",
  "rgb": {
    "r": 210,
    "g": 239,
    "b": 151
  },
  "hsl": {
    "h": 79.773,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.91092,
    "c": 0.11673,
    "h": 123.5
  },
  "luminance": 0.77669
}

Semantic roles & 50–950 ramp

primary
#D2EF97
secondary
#835FCB
accent
#10D551
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #D2EF97

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

Preview Lab → · Contrast checker → · Palette generator →

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