#DEF887#DEF887

#DEF887 is a very light, vivid yellow-green. Relative luminance 0.844; OKLCH L 93.6% C 0.142 H 119.9°. Best body text is #000000 at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#DEF887
RGBrgb(222, 248, 135)
HSLhsl(74, 89%, 75%)
HSVhsv(74, 46%, 97%)
CMYKcmyk(10.5%, 0%, 45.6%, 2.7%)
CIE-LABlab(93.63, -25.21, 51.20)
CIE-LCHlch(93.63, 57.07, 116.21°)
OKLaboklab(93.63% -0.0706 0.123)
OKLCHoklch(93.63% 0.142 119.9)
XYZxyz(68.0651, 84.4139, 35.6247)
Luminance0.8441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF887 #A187F8
analogous
#F8D987 #DEF887 #A6F887
triadic
#DEF887 #87DEF8 #F887DE
tetradic
#DEF887 #87F8D9 #A187F8 #F887A6
square
#DEF887 #87F8D9 #A187F8 #F887A6
split-complementary
#DEF887 #87A6F8 #D987F8
monochromatic
#BEF113 #CEF54D #DEF887 #EEFBC1 #F7FDE2

Accessibility & contrast

On white

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

On black

17.88
#DEF887 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF887
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF887#FFFFFF#000000##000000
##DEF8871.001.1717.8817.88
#FFFFFF1.171.0021.0021.00
#00000017.8821.001.001.00
##00000017.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED7E
Deuteranopia (green-blind)
#FFED8D
Tritanopia (blue-blind)
#E7EEDD
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #def887;
/* rgb */ color: rgb(222, 248, 135);
/* oklch */ color: oklch(93.6% 0.142 119.9);
Tailwind
colors: {
  custom: {
    50: '#eafaac',
    500: '#def887',
    950: '#000000',
  },
}
SCSS
$custom: #def887;
$custom-light: #eafaac;
$custom-dark: #000000;
JSON
{
  "hex": "#def887",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 135
  },
  "hsl": {
    "h": 73.805,
    "s": 88.976,
    "l": 75.098
  },
  "oklch": {
    "l": 0.9363,
    "c": 0.14177,
    "h": 119.9
  },
  "luminance": 0.84414
}

Semantic roles & 50–950 ramp

primary
#DEF887
secondary
#6D4DD6
accent
#00E635
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF887

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

Preview Lab → · Contrast checker → · Palette generator →

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