#D2F97E#D2F97E

#D2F97E is a very light, vivid yellow-green. Relative luminance 0.830; OKLCH L 92.9% C 0.156 H 123.9°. Best body text is #000000 at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#D2F97E
RGBrgb(210, 249, 126)
HSLhsl(79, 91%, 74%)
HSVhsv(79, 49%, 98%)
CMYKcmyk(15.7%, 0%, 49.4%, 2.4%)
CIE-LABlab(93.00, -31.07, 54.45)
CIE-LCHlch(93.00, 62.69, 119.71°)
OKLaboklab(92.89% -0.0872 0.1296)
OKLCHoklch(92.89% 0.156 123.9)
XYZxyz(64.2200, 82.9590, 32.3640)
Luminance0.8296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F97E #A57EF9
analogous
#F9E27E #D2F97E #94F97E
triadic
#D2F97E #7ED2F9 #F97ED2
tetradic
#D2F97E #7EF9E2 #A57EF9 #F97E94
square
#D2F97E #7EF9E2 #A57EF9 #F97E94
split-complementary
#D2F97E #7E94F9 #E27EF9
monochromatic
#A8F10B #BEF644 #D2F97E #E6FCB8 #F5FEE2

Accessibility & contrast

On white

1.19
#D2F97E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.59
#D2F97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F97E
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F97E#FFFFFF#000000##000000
##D2F97E1.001.1917.5917.59
#FFFFFF1.191.0021.0021.00
#00000017.5921.001.001.00
##00000017.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC73
Deuteranopia (green-blind)
#FFEB85
Tritanopia (blue-blind)
#DAEFDD
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d2f97e;
/* rgb */ color: rgb(210, 249, 126);
/* oklch */ color: oklch(92.9% 0.156 123.9);
Tailwind
colors: {
  custom: {
    50: '#e2fba6',
    500: '#d2f97e',
    950: '#000000',
  },
}
SCSS
$custom: #d2f97e;
$custom-light: #e2fba6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f97e",
  "rgb": {
    "r": 210,
    "g": 249,
    "b": 126
  },
  "hsl": {
    "h": 79.024,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.92886,
    "c": 0.15622,
    "h": 123.9
  },
  "luminance": 0.82959
}

Semantic roles & 50–950 ramp

primary
#D2F97E
secondary
#7345D6
accent
#00E649
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#161710
muted
#848580

Preview Lab

Preview with #D2F97E

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

Preview Lab → · Contrast checker → · Palette generator →

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