#DEF587#DEF587

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

Color values

HEX#DEF587
RGBrgb(222, 245, 135)
HSLhsl(73, 85%, 75%)
HSVhsv(73, 45%, 96%)
CMYKcmyk(9.4%, 0%, 44.9%, 3.9%)
CIE-LABlab(92.83, -23.78, 50.22)
CIE-LCHlch(92.83, 55.57, 115.34°)
OKLaboklab(92.99% -0.0666 0.1208)
OKLCHoklch(92.99% 0.138 118.9)
XYZxyz(67.1502, 82.5840, 35.3197)
Luminance0.8258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF587 #9E87F5
analogous
#F5D587 #DEF587 #A7F587
triadic
#DEF587 #87DEF5 #F587DE
tetradic
#DEF587 #87F5D5 #9E87F5 #F587A7
square
#DEF587 #87F5D5 #9E87F5 #F587A7
split-complementary
#DEF587 #87A7F5 #D587F5
monochromatic
#BFEC16 #CEF04F #DEF587 #EEFABF #F7FDE3

Accessibility & contrast

On white

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

On black

17.52
#DEF587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF587
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF587#FFFFFF#000000##000000
##DEF5871.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def587;
/* rgb */ color: rgb(222, 245, 135);
/* oklch */ color: oklch(93.0% 0.138 118.9);
Tailwind
colors: {
  custom: {
    50: '#eaf8ac',
    500: '#def587',
    950: '#000000',
  },
}
SCSS
$custom: #def587;
$custom-light: #eaf8ac;
$custom-dark: #000000;
JSON
{
  "hex": "#def587",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 135
  },
  "hsl": {
    "h": 72.545,
    "s": 84.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.92991,
    "c": 0.1379,
    "h": 118.9
  },
  "luminance": 0.82584
}

Semantic roles & 50–950 ramp

primary
#DEF587
secondary
#6A4ED2
accent
#04E133
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF587

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

Preview Lab → · Contrast checker → · Palette generator →

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