#DEF87E#DEF87E

#DEF87E is a very light, vivid yellow-green. Relative luminance 0.842; OKLCH L 93.5% C 0.151 H 119.3°. Best body text is #000000 at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#DEF87E
RGBrgb(222, 248, 126)
HSLhsl(73, 90%, 73%)
HSVhsv(73, 49%, 97%)
CMYKcmyk(10.5%, 0%, 49.2%, 2.7%)
CIE-LABlab(93.52, -26.09, 55.27)
CIE-LCHlch(93.52, 61.12, 115.27°)
OKLaboklab(93.51% -0.0738 0.1313)
OKLCHoklch(93.51% 0.151 119.3)
XYZxyz(67.4581, 84.1711, 32.4275)
Luminance0.8417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF87E #987EF8
analogous
#F8D57E #DEF87E #A1F87E
triadic
#DEF87E #7EDEF8 #F87EDE
tetradic
#DEF87E #7EF8D5 #987EF8 #F87EA1
square
#DEF87E #7EF8D5 #987EF8 #F87EA1
split-complementary
#DEF87E #7EA1F8 #D57EF8
monochromatic
#BFEF0D #CFF544 #DEF87E #EDFBB8 #F8FDE2

Accessibility & contrast

On white

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

On black

17.83
#DEF87E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF87E
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF87E#FFFFFF#000000##000000
##DEF87E1.001.1817.8317.83
#FFFFFF1.181.0021.0021.00
#00000017.8321.001.001.00
##00000017.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC73
Deuteranopia (green-blind)
#FFED85
Tritanopia (blue-blind)
#E8EDDC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #def87e;
/* rgb */ color: rgb(222, 248, 126);
/* oklch */ color: oklch(93.5% 0.151 119.3);
Tailwind
colors: {
  custom: {
    50: '#eafaa6',
    500: '#def87e',
    950: '#000000',
  },
}
SCSS
$custom: #def87e;
$custom-light: #eafaa6;
$custom-dark: #000000;
JSON
{
  "hex": "#def87e",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 126
  },
  "hsl": {
    "h": 72.787,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.93512,
    "c": 0.15062,
    "h": 119.3
  },
  "luminance": 0.84171
}

Semantic roles & 50–950 ramp

primary
#DEF87E
secondary
#6446D5
accent
#00E631
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#161710
muted
#858580

Preview Lab

Preview with #DEF87E

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

Preview Lab → · Contrast checker → · Palette generator →

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