#DEF982#DEF982

#DEF982 is a very light, vivid yellow-green. Relative luminance 0.849; OKLCH L 93.8% C 0.148 H 119.9°. Best body text is #000000 at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#DEF982
RGBrgb(222, 249, 130)
HSLhsl(74, 91%, 74%)
HSVhsv(74, 48%, 98%)
CMYKcmyk(10.8%, 0%, 47.8%, 2.4%)
CIE-LABlab(93.84, -26.18, 53.80)
CIE-LCHlch(93.84, 59.83, 115.95°)
OKLaboklab(93.78% -0.0737 0.1284)
OKLCHoklch(93.78% 0.148 119.9)
XYZxyz(68.0296, 84.8929, 33.9168)
Luminance0.8489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF982 #9D82F9
analogous
#F9D882 #DEF982 #A3F982
triadic
#DEF982 #82DEF9 #F982DE
tetradic
#DEF982 #82F9D8 #9D82F9 #F982A3
square
#DEF982 #82F9D8 #9D82F9 #F982A3
split-complementary
#DEF982 #82A3F9 #D882F9
monochromatic
#BFF30D #CFF648 #DEF982 #EDFCBC #F7FEE2

Accessibility & contrast

On white

1.17
#DEF982 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.98
#DEF982 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF982
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF982#FFFFFF#000000##000000
##DEF9821.001.1717.9817.98
#FFFFFF1.171.0021.0021.00
#00000017.9821.001.001.00
##00000017.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED78
Deuteranopia (green-blind)
#FFEE89
Tritanopia (blue-blind)
#E8EEDD
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #def982;
/* rgb */ color: rgb(222, 249, 130);
/* oklch */ color: oklch(93.8% 0.148 119.9);
Tailwind
colors: {
  custom: {
    50: '#eafba9',
    500: '#def982',
    950: '#000000',
  },
}
SCSS
$custom: #def982;
$custom-light: #eafba9;
$custom-dark: #000000;
JSON
{
  "hex": "#def982",
  "rgb": {
    "r": 222,
    "g": 249,
    "b": 130
  },
  "hsl": {
    "h": 73.613,
    "s": 90.84,
    "l": 74.314
  },
  "oklch": {
    "l": 0.93777,
    "c": 0.14802,
    "h": 119.9
  },
  "luminance": 0.84893
}

Semantic roles & 50–950 ramp

primary
#DEF982
secondary
#6949D6
accent
#00E634
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF982

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

Preview Lab → · Contrast checker → · Palette generator →

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