#DEF87A#DEF87A

#DEF87A is a very light, vivid yellow-green. Relative luminance 0.841; OKLCH L 93.5% C 0.154 H 119.1°. Best body text is #000000 at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#DEF87A
RGBrgb(222, 248, 122)
HSLhsl(72, 90%, 73%)
HSVhsv(72, 51%, 97%)
CMYKcmyk(10.5%, 0%, 50.8%, 2.7%)
CIE-LABlab(93.48, -26.46, 57.05)
CIE-LCHlch(93.48, 62.89, 114.88°)
OKLaboklab(93.46% -0.0752 0.1349)
OKLCHoklch(93.46% 0.154 119.1)
XYZxyz(67.2051, 84.0699, 31.0953)
Luminance0.8407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF87A #947AF8
analogous
#F8D37A #DEF87A #9FF87A
triadic
#DEF87A #7ADEF8 #F87ADE
tetradic
#DEF87A #7AF8D3 #947AF8 #F87A9F
square
#DEF87A #7AF8D3 #947AF8 #F87A9F
split-complementary
#DEF87A #7A9FF8 #D37AF8
monochromatic
#BDEB0C #D0F540 #DEF87A #ECFBB4 #F8FDE2

Accessibility & contrast

On white

1.18
#DEF87A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.81
#DEF87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF87A
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF87A#FFFFFF#000000##000000
##DEF87A1.001.1817.8117.81
#FFFFFF1.181.0021.0021.00
#00000017.8121.001.001.00
##00000017.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6E
Deuteranopia (green-blind)
#FFED81
Tritanopia (blue-blind)
#E8EDDB
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #def87a;
/* rgb */ color: rgb(222, 248, 122);
/* oklch */ color: oklch(93.5% 0.154 119.1);
Tailwind
colors: {
  custom: {
    50: '#eafaa3',
    500: '#def87a',
    950: '#000000',
  },
}
SCSS
$custom: #def87a;
$custom-light: #eafaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#def87a",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 122
  },
  "hsl": {
    "h": 72.381,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.93462,
    "c": 0.15441,
    "h": 119.1
  },
  "luminance": 0.8407
}

Semantic roles & 50–950 ramp

primary
#DEF87A
secondary
#6042D4
accent
#00E62F
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF87A

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

Preview Lab → · Contrast checker → · Palette generator →

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