#DEF87D#DEF87D

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

Color values

HEX#DEF87D
RGBrgb(222, 248, 125)
HSLhsl(73, 90%, 73%)
HSVhsv(73, 50%, 97%)
CMYKcmyk(10.5%, 0%, 49.6%, 2.7%)
CIE-LABlab(93.51, -26.18, 55.72)
CIE-LCHlch(93.51, 61.57, 115.17°)
OKLaboklab(93.5% -0.0742 0.1322)
OKLCHoklch(93.5% 0.152 119.3)
XYZxyz(67.3939, 84.1454, 32.0894)
Luminance0.8415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF87D #977DF8
analogous
#F8D47D #DEF87D #A0F87D
triadic
#DEF87D #7DDEF8 #F87DDE
tetradic
#DEF87D #7DF8D4 #977DF8 #F87DA0
square
#DEF87D #7DF8D4 #977DF8 #F87DA0
split-complementary
#DEF87D #7DA0F8 #D47DF8
monochromatic
#BEEE0D #CFF543 #DEF87D #EDFBB7 #F8FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEF87D#FFFFFF#000000##000000
##DEF87D1.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)
#FFEC72
Deuteranopia (green-blind)
#FFED84
Tritanopia (blue-blind)
#E8EDDC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #def87d;
/* rgb */ color: rgb(222, 248, 125);
/* oklch */ color: oklch(93.5% 0.152 119.3);
Tailwind
colors: {
  custom: {
    50: '#eafaa5',
    500: '#def87d',
    950: '#000000',
  },
}
SCSS
$custom: #def87d;
$custom-light: #eafaa5;
$custom-dark: #000000;
JSON
{
  "hex": "#def87d",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 125
  },
  "hsl": {
    "h": 72.683,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.93499,
    "c": 0.15157,
    "h": 119.3
  },
  "luminance": 0.84145
}

Semantic roles & 50–950 ramp

primary
#DEF87D
secondary
#6345D4
accent
#00E631
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF87D

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

Preview Lab → · Contrast checker → · Palette generator →

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