#DEF886#DEF886

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

Color values

HEX#DEF886
RGBrgb(222, 248, 134)
HSLhsl(74, 89%, 75%)
HSVhsv(74, 46%, 97%)
CMYKcmyk(10.5%, 0%, 46%, 2.7%)
CIE-LABlab(93.62, -25.31, 51.66)
CIE-LCHlch(93.62, 57.53, 116.10°)
OKLaboklab(93.62% -0.071 0.1239)
OKLCHoklch(93.62% 0.143 119.8)
XYZxyz(67.9951, 84.3859, 35.2557)
Luminance0.8439 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF886 #A086F8
analogous
#F8D986 #DEF886 #A5F886
triadic
#DEF886 #86DEF8 #F886DE
tetradic
#DEF886 #86F8D9 #A086F8 #F886A5
square
#DEF886 #86F8D9 #A086F8 #F886A5
split-complementary
#DEF886 #86A5F8 #D986F8
monochromatic
#BEF112 #CEF54C #DEF886 #EEFBC0 #F7FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEF886#FFFFFF#000000##000000
##DEF8861.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)
#FFED7C
Deuteranopia (green-blind)
#FFED8C
Tritanopia (blue-blind)
#E7EEDD
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #def886;
/* rgb */ color: rgb(222, 248, 134);
/* oklch */ color: oklch(93.6% 0.143 119.8);
Tailwind
colors: {
  custom: {
    50: '#eafaab',
    500: '#def886',
    950: '#000000',
  },
}
SCSS
$custom: #def886;
$custom-light: #eafaab;
$custom-dark: #000000;
JSON
{
  "hex": "#def886",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 134
  },
  "hsl": {
    "h": 73.684,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.93617,
    "c": 0.14278,
    "h": 119.8
  },
  "luminance": 0.84386
}

Semantic roles & 50–950 ramp

primary
#DEF886
secondary
#6C4DD6
accent
#00E634
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF886

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

Preview Lab → · Contrast checker → · Palette generator →

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