#DEFEA2#DEFEA2

#DEFEA2 is a very light, vivid yellow-green. Relative luminance 0.890; OKLCH L 95.3% C 0.121 H 124.3°. Best body text is #000000 at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#DEFEA2
RGBrgb(222, 254, 162)
HSLhsl(81, 98%, 82%)
HSVhsv(81, 36%, 100%)
CMYKcmyk(12.6%, 0%, 36.2%, 0.4%)
CIE-LABlab(95.59, -25.01, 40.65)
CIE-LCHlch(95.59, 47.73, 121.61°)
OKLaboklab(95.32% -0.0683 0.1003)
OKLCHoklch(95.32% 0.121 124.3)
XYZxyz(72.0871, 89.0215, 47.5605)
Luminance0.8902 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFEA2 #C2A2FE
analogous
#FEF0A2 #DEFEA2 #B0FEA2
triadic
#DEFEA2 #A2DEFE #FEA2DE
tetradic
#DEFEA2 #A2FEF0 #C2A2FE #FEA2B0
square
#DEFEA2 #A2FEF0 #C2A2FE #FEA2B0
split-complementary
#DEFEA2 #A2B0FE #F0A2FE
monochromatic
#B3FD29 #C9FD65 #DEFEA2 #F3FFDF #F4FFE1

Accessibility & contrast

On white

1.12
#DEFEA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.80
#DEFEA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFEA2
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFEA2#FFFFFF#000000##000000
##DEFEA21.001.1218.8018.80
#FFFFFF1.121.0021.0021.00
#00000018.8021.001.001.00
##00000018.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF39B
Deuteranopia (green-blind)
#FFF2A7
Tritanopia (blue-blind)
#E4F6E7
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #defea2;
/* rgb */ color: rgb(222, 254, 162);
/* oklch */ color: oklch(95.3% 0.121 124.3);
Tailwind
colors: {
  custom: {
    50: '#e9febe',
    500: '#defea2',
    950: '#000000',
  },
}
SCSS
$custom: #defea2;
$custom-light: #e9febe;
$custom-dark: #000000;
JSON
{
  "hex": "#defea2",
  "rgb": {
    "r": 222,
    "g": 254,
    "b": 162
  },
  "hsl": {
    "h": 80.87,
    "s": 97.872,
    "l": 81.569
  },
  "oklch": {
    "l": 0.95318,
    "c": 0.12137,
    "h": 124.3
  },
  "luminance": 0.89022
}

Semantic roles & 50–950 ramp

primary
#DEFEA2
secondary
#8F62E2
accent
#00E650
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161712
muted
#848582

Preview Lab

Preview with #DEFEA2

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

Preview Lab → · Contrast checker → · Palette generator →

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