#DEF882#DEF882

#DEF882 is a very light, vivid yellow-green. Relative luminance 0.843; OKLCH L 93.6% C 0.147 H 119.6°. Best body text is #000000 at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#DEF882
RGBrgb(222, 248, 130)
HSLhsl(73, 89%, 74%)
HSVhsv(73, 48%, 97%)
CMYKcmyk(10.5%, 0%, 47.6%, 2.7%)
CIE-LABlab(93.57, -25.71, 53.48)
CIE-LCHlch(93.57, 59.33, 115.67°)
OKLaboklab(93.56% -0.0724 0.1276)
OKLCHoklch(93.56% 0.147 119.6)
XYZxyz(67.7213, 84.2764, 33.8141)
Luminance0.8428 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF882 #9C82F8
analogous
#F8D782 #DEF882 #A3F882
triadic
#DEF882 #82DEF8 #F882DE
tetradic
#DEF882 #82F8D7 #9C82F8 #F882A3
square
#DEF882 #82F8D7 #9C82F8 #F882A3
split-complementary
#DEF882 #82A3F8 #D782F8
monochromatic
#BFF20E #CFF548 #DEF882 #EDFBBC #F7FDE2

Accessibility & contrast

On white

1.18
#DEF882 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.86
#DEF882 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF882
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF882#FFFFFF#000000##000000
##DEF8821.001.1817.8617.86
#FFFFFF1.181.0021.0021.00
#00000017.8621.001.001.00
##00000017.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED78
Deuteranopia (green-blind)
#FFED88
Tritanopia (blue-blind)
#E8EDDD
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #def882;
/* rgb */ color: rgb(222, 248, 130);
/* oklch */ color: oklch(93.6% 0.147 119.6);
Tailwind
colors: {
  custom: {
    50: '#eafaa9',
    500: '#def882',
    950: '#000000',
  },
}
SCSS
$custom: #def882;
$custom-light: #eafaa9;
$custom-dark: #000000;
JSON
{
  "hex": "#def882",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 130
  },
  "hsl": {
    "h": 73.22,
    "s": 89.394,
    "l": 74.118
  },
  "oklch": {
    "l": 0.93563,
    "c": 0.14674,
    "h": 119.6
  },
  "luminance": 0.84276
}

Semantic roles & 50–950 ramp

primary
#DEF882
secondary
#6849D5
accent
#00E633
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF882

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

Preview Lab → · Contrast checker → · Palette generator →

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