#DEF487#DEF487

#DEF487 is a very light, vivid yellow-green. Relative luminance 0.820; OKLCH L 92.8% C 0.137 H 118.5°. Best body text is #000000 at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#DEF487
RGBrgb(222, 244, 135)
HSLhsl(72, 83%, 74%)
HSVhsv(72, 45%, 96%)
CMYKcmyk(9%, 0%, 44.7%, 4.3%)
CIE-LABlab(92.57, -23.31, 49.89)
CIE-LCHlch(92.57, 55.07, 115.04°)
OKLaboklab(92.78% -0.0652 0.12)
OKLCHoklch(92.78% 0.137 118.5)
XYZxyz(66.8485, 81.9806, 35.2192)
Luminance0.8198 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF487 #9D87F4
analogous
#F4D487 #DEF487 #A8F487
triadic
#DEF487 #87DEF4 #F487DE
tetradic
#DEF487 #87F4D4 #9D87F4 #F487A8
square
#DEF487 #87F4D4 #9D87F4 #F487A8
split-complementary
#DEF487 #87A8F4 #D487F4
monochromatic
#BFEA17 #CFEF4F #DEF487 #EDF9BF #F7FCE3

Accessibility & contrast

On white

1.21
#DEF487 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.40
#DEF487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF487
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF487#FFFFFF#000000##000000
##DEF4871.001.2117.4017.40
#FFFFFF1.211.0021.0021.00
#00000017.4021.001.001.00
##00000017.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def487;
/* rgb */ color: rgb(222, 244, 135);
/* oklch */ color: oklch(92.8% 0.137 118.5);
Tailwind
colors: {
  custom: {
    50: '#eaf7ac',
    500: '#def487',
    950: '#000000',
  },
}
SCSS
$custom: #def487;
$custom-light: #eaf7ac;
$custom-dark: #000000;
JSON
{
  "hex": "#def487",
  "rgb": {
    "r": 222,
    "g": 244,
    "b": 135
  },
  "hsl": {
    "h": 72.11,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.92779,
    "c": 0.13661,
    "h": 118.5
  },
  "luminance": 0.8198
}

Semantic roles & 50–950 ramp

primary
#DEF487
secondary
#694FD0
accent
#06E032
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF487

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

Preview Lab → · Contrast checker → · Palette generator →

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