#DEF581#DEF581

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

Color values

HEX#DEF581
RGBrgb(222, 245, 129)
HSLhsl(72, 85%, 73%)
HSVhsv(72, 47%, 96%)
CMYKcmyk(9.4%, 0%, 47.3%, 3.9%)
CIE-LABlab(92.76, -24.38, 52.96)
CIE-LCHlch(92.76, 58.30, 114.72°)
OKLaboklab(92.91% -0.0687 0.1264)
OKLCHoklch(92.91% 0.144 118.5)
XYZxyz(66.7396, 82.4198, 33.1573)
Luminance0.8242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF581 #9881F5
analogous
#F5D281 #DEF581 #A4F581
triadic
#DEF581 #81DEF5 #F581DE
tetradic
#DEF581 #81F5D2 #9881F5 #F581A4
square
#DEF581 #81F5D2 #9881F5 #F581A4
split-complementary
#DEF581 #81A4F5 #D281F5
monochromatic
#BFE913 #CFF048 #DEF581 #EDF9BA #F8FDE3

Accessibility & contrast

On white

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

On black

17.48
#DEF581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF581
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF581#FFFFFF#000000##000000
##DEF5811.001.2017.4817.48
#FFFFFF1.201.0021.0021.00
#00000017.4821.001.001.00
##00000017.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def581;
/* rgb */ color: rgb(222, 245, 129);
/* oklch */ color: oklch(92.9% 0.144 118.5);
Tailwind
colors: {
  custom: {
    50: '#eaf8a8',
    500: '#def581',
    950: '#000000',
  },
}
SCSS
$custom: #def581;
$custom-light: #eaf8a8;
$custom-dark: #000000;
JSON
{
  "hex": "#def581",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 129
  },
  "hsl": {
    "h": 71.897,
    "s": 85.294,
    "l": 73.333
  },
  "oklch": {
    "l": 0.9291,
    "c": 0.14391,
    "h": 118.5
  },
  "luminance": 0.82419
}

Semantic roles & 50–950 ramp

primary
#DEF581
secondary
#6449D1
accent
#04E230
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF581

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

Preview Lab → · Contrast checker → · Palette generator →

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