#D2F980#D2F980

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

Color values

HEX#D2F980
RGBrgb(210, 249, 128)
HSLhsl(79, 91%, 74%)
HSVhsv(79, 49%, 98%)
CMYKcmyk(15.7%, 0%, 48.6%, 2.4%)
CIE-LABlab(93.02, -30.87, 53.55)
CIE-LCHlch(93.02, 61.81, 119.96°)
OKLaboklab(92.91% -0.0865 0.1278)
OKLCHoklch(92.91% 0.154 124.1)
XYZxyz(64.3503, 83.0111, 33.0505)
Luminance0.8301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F980 #A780F9
analogous
#F9E480 #D2F980 #96F980
triadic
#D2F980 #80D2F9 #F980D2
tetradic
#D2F980 #80F9E4 #A780F9 #F98096
square
#D2F980 #80F9E4 #A780F9 #F98096
split-complementary
#D2F980 #8096F9 #E480F9
monochromatic
#A8F30B #BDF646 #D2F980 #E7FCBA #F5FEE2

Accessibility & contrast

On white

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

On black

17.60
#D2F980 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F980
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F980#FFFFFF#000000##000000
##D2F9801.001.1917.6017.60
#FFFFFF1.191.0021.0021.00
#00000017.6021.001.001.00
##00000017.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2f980;
/* rgb */ color: rgb(210, 249, 128);
/* oklch */ color: oklch(92.9% 0.154 124.1);
Tailwind
colors: {
  custom: {
    50: '#e2fba7',
    500: '#d2f980',
    950: '#000000',
  },
}
SCSS
$custom: #d2f980;
$custom-light: #e2fba7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f980",
  "rgb": {
    "r": 210,
    "g": 249,
    "b": 128
  },
  "hsl": {
    "h": 79.339,
    "s": 90.977,
    "l": 73.922
  },
  "oklch": {
    "l": 0.92912,
    "c": 0.1543,
    "h": 124.1
  },
  "luminance": 0.83012
}

Semantic roles & 50–950 ramp

primary
#D2F980
secondary
#7547D6
accent
#00E64A
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#161710
muted
#848581

Preview Lab

Preview with #D2F980

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

Preview Lab → · Contrast checker → · Palette generator →

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