#DEF582#DEF582

#DEF582 is a very light, vivid yellow-green. Relative luminance 0.824; OKLCH L 92.9% C 0.143 H 118.6°. Best body text is #000000 at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#DEF582
RGBrgb(222, 245, 130)
HSLhsl(72, 85%, 74%)
HSVhsv(72, 47%, 96%)
CMYKcmyk(9.4%, 0%, 46.9%, 3.9%)
CIE-LABlab(92.77, -24.28, 52.51)
CIE-LCHlch(92.77, 57.85, 114.82°)
OKLaboklab(92.92% -0.0684 0.1255)
OKLCHoklch(92.92% 0.143 118.6)
XYZxyz(66.8064, 82.4465, 33.5091)
Luminance0.8245 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF582 #9982F5
analogous
#F5D282 #DEF582 #A4F582
triadic
#DEF582 #82DEF5 #F582DE
tetradic
#DEF582 #82F5D2 #9982F5 #F582A4
square
#DEF582 #82F5D2 #9982F5 #F582A4
split-complementary
#DEF582 #82A4F5 #D282F5
monochromatic
#BFEA13 #CFF049 #DEF582 #EDFABB #F8FDE3

Accessibility & contrast

On white

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

On black

17.49
#DEF582 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF582
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF582#FFFFFF#000000##000000
##DEF5821.001.2017.4917.49
#FFFFFF1.201.0021.0021.00
#00000017.4921.001.001.00
##00000017.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def582;
/* rgb */ color: rgb(222, 245, 130);
/* oklch */ color: oklch(92.9% 0.143 118.6);
Tailwind
colors: {
  custom: {
    50: '#eaf8a8',
    500: '#def582',
    950: '#000000',
  },
}
SCSS
$custom: #def582;
$custom-light: #eaf8a8;
$custom-dark: #000000;
JSON
{
  "hex": "#def582",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 130
  },
  "hsl": {
    "h": 72,
    "s": 85.185,
    "l": 73.529
  },
  "oklch": {
    "l": 0.92923,
    "c": 0.14292,
    "h": 118.6
  },
  "luminance": 0.82446
}

Semantic roles & 50–950 ramp

primary
#DEF582
secondary
#654AD1
accent
#04E230
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF582

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

Preview Lab → · Contrast checker → · Palette generator →

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