#D2F579#D2F579

#D2F579 is a very light, vivid yellow-green. Relative luminance 0.804; OKLCH L 92.0% C 0.156 H 122.5°. Best body text is #000000 at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#D2F579
RGBrgb(210, 245, 121)
HSLhsl(77, 86%, 72%)
HSVhsv(77, 51%, 96%)
CMYKcmyk(14.3%, 0%, 50.6%, 3.9%)
CIE-LABlab(91.86, -29.69, 55.39)
CIE-LCHlch(91.86, 62.84, 118.19°)
OKLaboklab(91.95% -0.0837 0.1313)
OKLCHoklch(91.95% 0.156 122.5)
XYZxyz(62.6822, 80.3868, 30.2994)
Luminance0.8039 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F579 #9C79F5
analogous
#F5DA79 #D2F579 #94F579
triadic
#D2F579 #79D2F5 #F579D2
tetradic
#D2F579 #79F5DA #9C79F5 #F57994
square
#D2F579 #79F5DA #9C79F5 #F57994
split-complementary
#D2F579 #7994F5 #DA79F5
monochromatic
#A7E311 #BFF140 #D2F579 #E5F9B2 #F5FDE3

Accessibility & contrast

On white

1.23
#D2F579 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.08
#D2F579 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F579
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F579#FFFFFF#000000##000000
##D2F5791.001.2317.0817.08
#FFFFFF1.231.0021.0021.00
#00000017.0821.001.001.00
##00000017.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86E
Deuteranopia (green-blind)
#FDE880
Tritanopia (blue-blind)
#DBEBD9
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #d2f579;
/* rgb */ color: rgb(210, 245, 121);
/* oklch */ color: oklch(92.0% 0.156 122.5);
Tailwind
colors: {
  custom: {
    50: '#e2f8a2',
    500: '#d2f579',
    950: '#000000',
  },
}
SCSS
$custom: #d2f579;
$custom-light: #e2f8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f579",
  "rgb": {
    "r": 210,
    "g": 245,
    "b": 121
  },
  "hsl": {
    "h": 76.935,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.91953,
    "c": 0.15572,
    "h": 122.5
  },
  "luminance": 0.80387
}

Semantic roles & 50–950 ramp

primary
#D2F579
secondary
#6A42D0
accent
#03E342
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F579

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

Preview Lab → · Contrast checker → · Palette generator →

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