#D2F97A#D2F97A

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

Color values

HEX#D2F97A
RGBrgb(210, 249, 122)
HSLhsl(78, 91%, 73%)
HSVhsv(78, 51%, 98%)
CMYKcmyk(15.7%, 0%, 51%, 2.4%)
CIE-LABlab(92.95, -31.45, 56.23)
CIE-LCHlch(92.95, 64.43, 119.22°)
OKLaboklab(92.84% -0.0886 0.1332)
OKLCHoklch(92.84% 0.16 123.6)
XYZxyz(63.9670, 82.8578, 31.0318)
Luminance0.8286 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F97A #A17AF9
analogous
#F9E07A #D2F97A #92F97A
triadic
#D2F97A #7AD2F9 #F97AD2
tetradic
#D2F97A #7AF9E0 #A17AF9 #F97A92
square
#D2F97A #7AF9E0 #A17AF9 #F97A92
split-complementary
#D2F97A #7A92F9 #E07AF9
monochromatic
#A8EE0B #BEF63F #D2F97A #E6FCB5 #F5FEE2

Accessibility & contrast

On white

1.20
#D2F97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.57
#D2F97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F97A
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F97A#FFFFFF#000000##000000
##D2F97A1.001.2017.5717.57
#FFFFFF1.201.0021.0021.00
#00000017.5721.001.001.00
##00000017.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2f97a;
/* rgb */ color: rgb(210, 249, 122);
/* oklch */ color: oklch(92.8% 0.160 123.6);
Tailwind
colors: {
  custom: {
    50: '#e2fba3',
    500: '#d2f97a',
    950: '#000000',
  },
}
SCSS
$custom: #d2f97a;
$custom-light: #e2fba3;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f97a",
  "rgb": {
    "r": 210,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 78.425,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92836,
    "c": 0.15998,
    "h": 123.6
  },
  "luminance": 0.82858
}

Semantic roles & 50–950 ramp

primary
#D2F97A
secondary
#6F42D5
accent
#00E646
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F97A

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

Preview Lab → · Contrast checker → · Palette generator →

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