#DEF586#DEF586

#DEF586 is a very light, vivid yellow-green. Relative luminance 0.826; OKLCH L 93.0% C 0.139 H 118.8°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#DEF586
RGBrgb(222, 245, 134)
HSLhsl(72, 85%, 74%)
HSVhsv(72, 45%, 96%)
CMYKcmyk(9.4%, 0%, 45.3%, 3.9%)
CIE-LABlab(92.82, -23.88, 50.68)
CIE-LCHlch(92.82, 56.03, 115.23°)
OKLaboklab(92.98% -0.0669 0.1217)
OKLCHoklch(92.98% 0.139 118.8)
XYZxyz(67.0801, 82.5560, 34.9507)
Luminance0.8256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF586 #9D86F5
analogous
#F5D486 #DEF586 #A7F586
triadic
#DEF586 #86DEF5 #F586DE
tetradic
#DEF586 #86F5D4 #9D86F5 #F586A7
square
#DEF586 #86F5D4 #9D86F5 #F586A7
split-complementary
#DEF586 #86A7F5 #D486F5
monochromatic
#BFEC15 #CFF04D #DEF586 #EDFABF #F7FDE3

Accessibility & contrast

On white

1.20
#DEF586 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.51
#DEF586 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF586
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF586#FFFFFF#000000##000000
##DEF5861.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA7D
Deuteranopia (green-blind)
#FFEB8C
Tritanopia (blue-blind)
#E8EBDB
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def586;
/* rgb */ color: rgb(222, 245, 134);
/* oklch */ color: oklch(93.0% 0.139 118.8);
Tailwind
colors: {
  custom: {
    50: '#eaf8ab',
    500: '#def586',
    950: '#000000',
  },
}
SCSS
$custom: #def586;
$custom-light: #eaf8ab;
$custom-dark: #000000;
JSON
{
  "hex": "#def586",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 134
  },
  "hsl": {
    "h": 72.432,
    "s": 84.733,
    "l": 74.314
  },
  "oklch": {
    "l": 0.92977,
    "c": 0.13891,
    "h": 118.8
  },
  "luminance": 0.82556
}

Semantic roles & 50–950 ramp

primary
#DEF586
secondary
#694ED2
accent
#04E132
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF586

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

Preview Lab → · Contrast checker → · Palette generator →

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