#DEF87B#DEF87B

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

Color values

HEX#DEF87B
RGBrgb(222, 248, 123)
HSLhsl(72, 90%, 73%)
HSVhsv(72, 50%, 97%)
CMYKcmyk(10.5%, 0%, 50.4%, 2.7%)
CIE-LABlab(93.49, -26.37, 56.61)
CIE-LCHlch(93.49, 62.45, 114.97°)
OKLaboklab(93.48% -0.0749 0.134)
OKLCHoklch(93.48% 0.153 119.2)
XYZxyz(67.2674, 84.0948, 31.4233)
Luminance0.8409 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF87B #957BF8
analogous
#F8D37B #DEF87B #9FF87B
triadic
#DEF87B #7BDEF8 #F87BDE
tetradic
#DEF87B #7BF8D3 #957BF8 #F87B9F
square
#DEF87B #7BF8D3 #957BF8 #F87B9F
split-complementary
#DEF87B #7B9FF8 #D37BF8
monochromatic
#BEEC0D #CFF541 #DEF87B #EDFBB5 #F8FDE2

Accessibility & contrast

On white

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

On black

17.82
#DEF87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF87B
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF87B#FFFFFF#000000##000000
##DEF87B1.001.1817.8217.82
#FFFFFF1.181.0021.0021.00
#00000017.8221.001.001.00
##00000017.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def87b;
/* rgb */ color: rgb(222, 248, 123);
/* oklch */ color: oklch(93.5% 0.153 119.2);
Tailwind
colors: {
  custom: {
    50: '#eafaa4',
    500: '#def87b',
    950: '#000000',
  },
}
SCSS
$custom: #def87b;
$custom-light: #eafaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#def87b",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 123
  },
  "hsl": {
    "h": 72.48,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.93475,
    "c": 0.15347,
    "h": 119.2
  },
  "luminance": 0.84094
}

Semantic roles & 50–950 ramp

primary
#DEF87B
secondary
#6143D4
accent
#00E630
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF87B

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

Preview Lab → · Contrast checker → · Palette generator →

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