#DEF86F#DEF86F

#DEF86F is a very light, vivid yellow-green. Relative luminance 0.838; OKLCH L 93.3% C 0.164 H 118.7°. Best body text is #000000 at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#DEF86F
RGBrgb(222, 248, 111)
HSLhsl(71, 91%, 70%)
HSVhsv(71, 55%, 97%)
CMYKcmyk(10.5%, 0%, 55.2%, 2.7%)
CIE-LABlab(93.37, -27.40, 61.83)
CIE-LCHlch(93.37, 67.63, 113.90°)
OKLaboklab(93.34% -0.0789 0.1442)
OKLCHoklch(93.34% 0.164 118.7)
XYZxyz(66.5617, 83.8125, 27.7068)
Luminance0.8381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF86F #896FF8
analogous
#F8CD6F #DEF86F #99F86F
triadic
#DEF86F #6FDEF8 #F86FDE
tetradic
#DEF86F #6FF8CD #896FF8 #F86F99
square
#DEF86F #6FF8CD #896FF8 #F86F99
split-complementary
#DEF86F #6F99F8 #CD6FF8
monochromatic
#B9E20B #D1F535 #DEF86F #EBFBA9 #F8FEE2

Accessibility & contrast

On white

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

On black

17.76
#DEF86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF86F
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF86F#FFFFFF#000000##000000
##DEF86F1.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC61
Deuteranopia (green-blind)
#FFED77
Tritanopia (blue-blind)
#E9ECDA
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #def86f;
/* rgb */ color: rgb(222, 248, 111);
/* oklch */ color: oklch(93.3% 0.164 118.7);
Tailwind
colors: {
  custom: {
    50: '#ebfa9c',
    500: '#def86f',
    950: '#000000',
  },
}
SCSS
$custom: #def86f;
$custom-light: #ebfa9c;
$custom-dark: #000000;
JSON
{
  "hex": "#def86f",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 111
  },
  "hsl": {
    "h": 71.387,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.93337,
    "c": 0.16431,
    "h": 118.7
  },
  "luminance": 0.83812
}

Semantic roles & 50–950 ramp

primary
#DEF86F
secondary
#5638D3
accent
#00E62C
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF86F

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

Preview Lab → · Contrast checker → · Palette generator →

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