#DEF86B#DEF86B

#DEF86B is a very light, vivid yellow-green. Relative luminance 0.837; OKLCH L 93.3% C 0.168 H 118.5°. Best body text is #000000 at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#DEF86B
RGBrgb(222, 248, 107)
HSLhsl(71, 91%, 70%)
HSVhsv(71, 57%, 97%)
CMYKcmyk(10.5%, 0%, 56.9%, 2.7%)
CIE-LABlab(93.33, -27.72, 63.52)
CIE-LCHlch(93.33, 69.30, 113.58°)
OKLaboklab(93.29% -0.0801 0.1474)
OKLCHoklch(93.29% 0.168 118.5)
XYZxyz(66.3464, 83.7264, 26.5727)
Luminance0.8373 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF86B #856BF8
analogous
#F8CC6B #DEF86B #98F86B
triadic
#DEF86B #6BDEF8 #F86BDE
tetradic
#DEF86B #6BF8CC #856BF8 #F86B98
square
#DEF86B #6BF8CC #856BF8 #F86B98
split-complementary
#DEF86B #6B98F8 #CC6BF8
monochromatic
#B7DE0B #D1F531 #DEF86B #EBFBA5 #F8FEE0

Accessibility & contrast

On white

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

On black

17.75
#DEF86B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF86B
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF86B#FFFFFF#000000##000000
##DEF86B1.001.1817.7517.75
#FFFFFF1.181.0021.0021.00
#00000017.7521.001.001.00
##00000017.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def86b;
/* rgb */ color: rgb(222, 248, 107);
/* oklch */ color: oklch(93.3% 0.168 118.5);
Tailwind
colors: {
  custom: {
    50: '#ebfa9a',
    500: '#def86b',
    950: '#000000',
  },
}
SCSS
$custom: #def86b;
$custom-light: #ebfa9a;
$custom-dark: #000000;
JSON
{
  "hex": "#def86b",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 107
  },
  "hsl": {
    "h": 71.064,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.93294,
    "c": 0.16773,
    "h": 118.5
  },
  "luminance": 0.83726
}

Semantic roles & 50–950 ramp

primary
#DEF86B
secondary
#5235D2
accent
#00E62A
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DEF86B

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

Preview Lab → · Contrast checker → · Palette generator →

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