#DEF87F#DEF87F

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

Color values

HEX#DEF87F
RGBrgb(222, 248, 127)
HSLhsl(73, 90%, 74%)
HSVhsv(73, 49%, 97%)
CMYKcmyk(10.5%, 0%, 48.8%, 2.7%)
CIE-LABlab(93.54, -25.99, 54.83)
CIE-LCHlch(93.54, 60.68, 115.37°)
OKLaboklab(93.52% -0.0735 0.1304)
OKLCHoklch(93.52% 0.15 119.4)
XYZxyz(67.5229, 84.1970, 32.7690)
Luminance0.8420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF87F #997FF8
analogous
#F8D67F #DEF87F #A1F87F
triadic
#DEF87F #7FDEF8 #F87FDE
tetradic
#DEF87F #7FF8D6 #997FF8 #F87FA1
square
#DEF87F #7FF8D6 #997FF8 #F87FA1
split-complementary
#DEF87F #7FA1F8 #D67FF8
monochromatic
#BFF00D #CFF545 #DEF87F #EDFBB9 #F8FDE2

Accessibility & contrast

On white

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

On black

17.84
#DEF87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF87F
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF87F#FFFFFF#000000##000000
##DEF87F1.001.1817.8417.84
#FFFFFF1.181.0021.0021.00
#00000017.8421.001.001.00
##00000017.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def87f;
/* rgb */ color: rgb(222, 248, 127);
/* oklch */ color: oklch(93.5% 0.150 119.4);
Tailwind
colors: {
  custom: {
    50: '#eafaa7',
    500: '#def87f',
    950: '#000000',
  },
}
SCSS
$custom: #def87f;
$custom-light: #eafaa7;
$custom-dark: #000000;
JSON
{
  "hex": "#def87f",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 127
  },
  "hsl": {
    "h": 72.893,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.93524,
    "c": 0.14966,
    "h": 119.4
  },
  "luminance": 0.84197
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEF87F

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

Preview Lab → · Contrast checker → · Palette generator →

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