#D2F97B#D2F97B

#D2F97B is a very light, vivid yellow-green. Relative luminance 0.829; OKLCH L 92.8% C 0.159 H 123.7°. Best body text is #000000 at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#D2F97B
RGBrgb(210, 249, 123)
HSLhsl(79, 91%, 73%)
HSVhsv(79, 51%, 98%)
CMYKcmyk(15.7%, 0%, 50.6%, 2.4%)
CIE-LABlab(92.96, -31.36, 55.79)
CIE-LCHlch(92.96, 64.00, 119.34°)
OKLaboklab(92.85% -0.0882 0.1323)
OKLCHoklch(92.85% 0.159 123.7)
XYZxyz(64.0293, 82.8827, 31.3598)
Luminance0.8288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F97B #A27BF9
analogous
#F9E17B #D2F97B #93F97B
triadic
#D2F97B #7BD2F9 #F97BD2
tetradic
#D2F97B #7BF9E1 #A27BF9 #F97B93
square
#D2F97B #7BF9E1 #A27BF9 #F97B93
split-complementary
#D2F97B #7B93F9 #E17BF9
monochromatic
#A8EF0B #BEF640 #D2F97B #E6FCB6 #F5FEE2

Accessibility & contrast

On white

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

On black

17.58
#D2F97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F97B
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F97B#FFFFFF#000000##000000
##D2F97B1.001.1917.5817.58
#FFFFFF1.191.0021.0021.00
#00000017.5821.001.001.00
##00000017.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6F
Deuteranopia (green-blind)
#FFEB82
Tritanopia (blue-blind)
#DAEFDC
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d2f97b;
/* rgb */ color: rgb(210, 249, 123);
/* oklch */ color: oklch(92.8% 0.159 123.7);
Tailwind
colors: {
  custom: {
    50: '#e2fba4',
    500: '#d2f97b',
    950: '#000000',
  },
}
SCSS
$custom: #d2f97b;
$custom-light: #e2fba4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f97b",
  "rgb": {
    "r": 210,
    "g": 249,
    "b": 123
  },
  "hsl": {
    "h": 78.571,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.92848,
    "c": 0.15905,
    "h": 123.7
  },
  "luminance": 0.82883
}

Semantic roles & 50–950 ramp

primary
#D2F97B
secondary
#7043D6
accent
#00E647
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F97B

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

Preview Lab → · Contrast checker → · Palette generator →

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