#DEFFA2#DEFFA2

#DEFFA2 is a very light, vivid yellow-green. Relative luminance 0.897; OKLCH L 95.5% C 0.123 H 124.6°. Best body text is #000000 at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#DEFFA2
RGBrgb(222, 255, 162)
HSLhsl(81, 100%, 82%)
HSVhsv(81, 36%, 100%)
CMYKcmyk(12.9%, 0%, 36.5%, 0%)
CIE-LABlab(95.85, -25.49, 40.99)
CIE-LCHlch(95.85, 48.27, 121.87°)
OKLaboklab(95.53% -0.0697 0.1011)
OKLCHoklch(95.53% 0.123 124.6)
XYZxyz(72.4053, 89.6579, 47.6666)
Luminance0.8966 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFFA2 #C3A2FF
analogous
#FFF1A2 #DEFFA2 #B0FFA2
triadic
#DEFFA2 #A2DEFF #FFA2DE
tetradic
#DEFFA2 #A2FFF1 #C3A2FF #FFA2B0
square
#DEFFA2 #A2FFF1 #C3A2FF #FFA2B0
split-complementary
#DEFFA2 #A2B0FF #F1A2FF
monochromatic
#B3FF28 #C8FF65 #DEFFA2 #F4FFDF #F4FFE0

Accessibility & contrast

On white

1.11
#DEFFA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.93
#DEFFA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFFA2
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFFA2#FFFFFF#000000##000000
##DEFFA21.001.1118.9318.93
#FFFFFF1.111.0021.0021.00
#00000018.9321.001.001.00
##00000018.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF49B
Deuteranopia (green-blind)
#FFF3A7
Tritanopia (blue-blind)
#E4F7E8
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #deffa2;
/* rgb */ color: rgb(222, 255, 162);
/* oklch */ color: oklch(95.5% 0.123 124.6);
Tailwind
colors: {
  custom: {
    50: '#e9ffbe',
    500: '#deffa2',
    950: '#000000',
  },
}
SCSS
$custom: #deffa2;
$custom-light: #e9ffbe;
$custom-dark: #000000;
JSON
{
  "hex": "#deffa2",
  "rgb": {
    "r": 222,
    "g": 255,
    "b": 162
  },
  "hsl": {
    "h": 81.29,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.95531,
    "c": 0.12278,
    "h": 124.6
  },
  "luminance": 0.89658
}

Semantic roles & 50–950 ramp

primary
#DEFFA2
secondary
#9062E3
accent
#00E651
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161812
muted
#848682

Preview Lab

Preview with #DEFFA2

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

Preview Lab → · Contrast checker → · Palette generator →

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