#DEF58F#DEF58F

#DEF58F is a very light, vivid yellow-green. Relative luminance 0.828; OKLCH L 93.1% C 0.130 H 119.4°. Best body text is #000000 at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#DEF58F
RGBrgb(222, 245, 143)
HSLhsl(74, 84%, 76%)
HSVhsv(74, 42%, 96%)
CMYKcmyk(9.4%, 0%, 41.6%, 3.9%)
CIE-LABlab(92.93, -22.94, 46.52)
CIE-LCHlch(92.93, 51.86, 116.25°)
OKLaboklab(93.11% -0.0636 0.1129)
OKLCHoklch(93.11% 0.13 119.4)
XYZxyz(67.7348, 82.8179, 38.3984)
Luminance0.8282 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF58F #A68FF5
analogous
#F5D98F #DEF58F #ABF58F
triadic
#DEF58F #8FDEF5 #F58FDE
tetradic
#DEF58F #8FF5D9 #A68FF5 #F58FAB
square
#DEF58F #8FF5D9 #A68FF5 #F58FAB
split-complementary
#DEF58F #8FABF5 #D98FF5
monochromatic
#BDEB1F #CDF057 #DEF58F #EFFAC7 #F7FCE3

Accessibility & contrast

On white

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

On black

17.56
#DEF58F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF58F
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF58F#FFFFFF#000000##000000
##DEF58F1.001.2017.5617.56
#FFFFFF1.201.0021.0021.00
#00000017.5621.001.001.00
##00000017.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB87
Deuteranopia (green-blind)
#FEEB94
Tritanopia (blue-blind)
#E7EBDC
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #def58f;
/* rgb */ color: rgb(222, 245, 143);
/* oklch */ color: oklch(93.1% 0.130 119.4);
Tailwind
colors: {
  custom: {
    50: '#e9f8b1',
    500: '#def58f',
    950: '#000000',
  },
}
SCSS
$custom: #def58f;
$custom-light: #e9f8b1;
$custom-dark: #000000;
JSON
{
  "hex": "#def58f",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 143
  },
  "hsl": {
    "h": 73.529,
    "s": 83.607,
    "l": 76.078
  },
  "oklch": {
    "l": 0.93107,
    "c": 0.12958,
    "h": 119.4
  },
  "luminance": 0.82818
}

Semantic roles & 50–950 ramp

primary
#DEF58F
secondary
#7256D3
accent
#05E037
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DEF58F

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

Preview Lab → · Contrast checker → · Palette generator →

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