#DEF186#DEF186

#DEF186 is a very light, vivid yellow-green. Relative luminance 0.802; OKLCH L 92.1% C 0.134 H 117.4°. Best body text is #000000 at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#DEF186
RGBrgb(222, 241, 134)
HSLhsl(71, 79%, 74%)
HSVhsv(71, 44%, 95%)
CMYKcmyk(7.9%, 0%, 44.4%, 5.5%)
CIE-LABlab(91.76, -21.97, 49.37)
CIE-LCHlch(91.76, 54.04, 113.99°)
OKLaboklab(92.13% -0.0615 0.1188)
OKLCHoklch(92.13% 0.134 117.4)
XYZxyz(65.8831, 80.1619, 34.5517)
Luminance0.8016 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF186 #9986F1
analogous
#F1CE86 #DEF186 #A8F186
triadic
#DEF186 #86DEF1 #F186DE
tetradic
#DEF186 #86F1CE #9986F1 #F186A8
square
#DEF186 #86F1CE #9986F1 #F186A8
split-complementary
#DEF186 #86A8F1 #CE86F1
monochromatic
#BFE21A #CFEB4F #DEF186 #EDF7BD #F8FCE4

Accessibility & contrast

On white

1.23
#DEF186 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.03
#DEF186 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF186
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF186#FFFFFF#000000##000000
##DEF1861.001.2317.0317.03
#FFFFFF1.231.0021.0021.00
#00000017.0321.001.001.00
##00000017.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE77D
Deuteranopia (green-blind)
#FCE88B
Tritanopia (blue-blind)
#E8E7D8
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def186;
/* rgb */ color: rgb(222, 241, 134);
/* oklch */ color: oklch(92.1% 0.134 117.4);
Tailwind
colors: {
  custom: {
    50: '#eaf5ab',
    500: '#def186',
    950: '#000000',
  },
}
SCSS
$custom: #def186;
$custom-light: #eaf5ab;
$custom-dark: #000000;
JSON
{
  "hex": "#def186",
  "rgb": {
    "r": 222,
    "g": 241,
    "b": 134
  },
  "hsl": {
    "h": 70.654,
    "s": 79.259,
    "l": 73.529
  },
  "oklch": {
    "l": 0.92128,
    "c": 0.13379,
    "h": 117.4
  },
  "luminance": 0.80161
}

Semantic roles & 50–950 ramp

primary
#DEF186
secondary
#654FCD
accent
#0ADC2F
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF186

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

Preview Lab → · Contrast checker → · Palette generator →

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