#DEF58D#DEF58D

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

Color values

HEX#DEF58D
RGBrgb(222, 245, 141)
HSLhsl(73, 84%, 76%)
HSVhsv(73, 42%, 96%)
CMYKcmyk(9.4%, 0%, 42.4%, 3.9%)
CIE-LABlab(92.91, -23.15, 47.45)
CIE-LCHlch(92.91, 52.80, 116.01°)
OKLaboklab(93.08% -0.0643 0.1149)
OKLCHoklch(93.08% 0.132 119.2)
XYZxyz(67.5846, 82.7578, 37.6076)
Luminance0.8276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF58D #A48DF5
analogous
#F5D88D #DEF58D #AAF58D
triadic
#DEF58D #8DDEF5 #F58DDE
tetradic
#DEF58D #8DF5D8 #A48DF5 #F58DAA
square
#DEF58D #8DF5D8 #A48DF5 #F58DAA
split-complementary
#DEF58D #8DAAF5 #D88DF5
monochromatic
#BDEB1C #CEF055 #DEF58D #EEFAC5 #F7FDE3

Accessibility & contrast

On white

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

On black

17.55
#DEF58D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF58D
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF58D#FFFFFF#000000##000000
##DEF58D1.001.2017.5517.55
#FFFFFF1.201.0021.0021.00
#00000017.5521.001.001.00
##00000017.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def58d;
/* rgb */ color: rgb(222, 245, 141);
/* oklch */ color: oklch(93.1% 0.132 119.2);
Tailwind
colors: {
  custom: {
    50: '#eaf8b0',
    500: '#def58d',
    950: '#000000',
  },
}
SCSS
$custom: #def58d;
$custom-light: #eaf8b0;
$custom-dark: #000000;
JSON
{
  "hex": "#def58d",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 141
  },
  "hsl": {
    "h": 73.269,
    "s": 83.871,
    "l": 75.686
  },
  "oklch": {
    "l": 0.93077,
    "c": 0.13169,
    "h": 119.2
  },
  "luminance": 0.82757
}

Semantic roles & 50–950 ramp

primary
#DEF58D
secondary
#7054D2
accent
#05E036
background
#FEFFFD
surface
#FDFFF7
border
#D5D7D0
text
#161711
muted
#848581

Preview Lab

Preview with #DEF58D

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

Preview Lab → · Contrast checker → · Palette generator →

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