#DEF58A#DEF58A

#DEF58A is a very light, vivid yellow-green. Relative luminance 0.827; OKLCH L 93.0% C 0.135 H 119.0°. Best body text is #000000 at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#DEF58A
RGBrgb(222, 245, 138)
HSLhsl(73, 84%, 75%)
HSVhsv(73, 44%, 96%)
CMYKcmyk(9.4%, 0%, 43.7%, 3.9%)
CIE-LABlab(92.87, -23.47, 48.84)
CIE-LCHlch(92.87, 54.19, 115.67°)
OKLaboklab(93.03% -0.0654 0.1179)
OKLCHoklch(93.03% 0.135 119)
XYZxyz(67.3644, 82.6697, 36.4478)
Luminance0.8267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF58A #A18AF5
analogous
#F5D68A #DEF58A #A9F58A
triadic
#DEF58A #8ADEF5 #F58ADE
tetradic
#DEF58A #8AF5D6 #A18AF5 #F58AA9
square
#DEF58A #8AF5D6 #A18AF5 #F58AA9
split-complementary
#DEF58A #8AA9F5 #D68AF5
monochromatic
#BEEB19 #CEF052 #DEF58A #EEFAC2 #F7FDE3

Accessibility & contrast

On white

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

On black

17.53
#DEF58A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF58A
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF58A#FFFFFF#000000##000000
##DEF58A1.001.2017.5317.53
#FFFFFF1.201.0021.0021.00
#00000017.5321.001.001.00
##00000017.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB81
Deuteranopia (green-blind)
#FFEB90
Tritanopia (blue-blind)
#E7EBDB
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def58a;
/* rgb */ color: rgb(222, 245, 138);
/* oklch */ color: oklch(93.0% 0.135 119.0);
Tailwind
colors: {
  custom: {
    50: '#eaf8ae',
    500: '#def58a',
    950: '#000000',
  },
}
SCSS
$custom: #def58a;
$custom-light: #eaf8ae;
$custom-dark: #000000;
JSON
{
  "hex": "#def58a",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 138
  },
  "hsl": {
    "h": 72.897,
    "s": 84.252,
    "l": 75.098
  },
  "oklch": {
    "l": 0.93034,
    "c": 0.13481,
    "h": 119
  },
  "luminance": 0.82669
}

Semantic roles & 50–950 ramp

primary
#DEF58A
secondary
#6D51D2
accent
#05E134
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF58A

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

Preview Lab → · Contrast checker → · Palette generator →

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