#DEFAA2#DEFAA2

#DEFAA2 is a very light, moderate yellow-green. Relative luminance 0.865; OKLCH L 94.5% C 0.116 H 123.0°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#DEFAA2
RGBrgb(222, 250, 162)
HSLhsl(79, 90%, 81%)
HSVhsv(79, 35%, 98%)
CMYKcmyk(11.2%, 0%, 35.2%, 2%)
CIE-LABlab(94.53, -23.11, 39.27)
CIE-LCHlch(94.53, 45.56, 120.48°)
OKLaboklab(94.47% -0.063 0.0971)
OKLCHoklch(94.47% 0.116 123)
XYZxyz(70.8310, 86.5093, 47.1418)
Luminance0.8651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFAA2 #BEA2FA
analogous
#FAEAA2 #DEFAA2 #B2FAA2
triadic
#DEFAA2 #A2DEFA #FAA2DE
tetradic
#DEFAA2 #A2FAEA #BEA2FA #FAA2B2
square
#DEFAA2 #A2FAEA #BEA2FA #FAA2B2
split-complementary
#DEFAA2 #A2B2FA #EAA2FA
monochromatic
#B5F42E #C9F768 #DEFAA2 #F3FDDC #F5FDE2

Accessibility & contrast

On white

1.15
#DEFAA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.30
#DEFAA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFAA2
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFAA2#FFFFFF#000000##000000
##DEFAA21.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF09C
Deuteranopia (green-blind)
#FFEFA6
Tritanopia (blue-blind)
#E4F2E4
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #defaa2;
/* rgb */ color: rgb(222, 250, 162);
/* oklch */ color: oklch(94.5% 0.116 123.0);
Tailwind
colors: {
  custom: {
    50: '#e9fcbe',
    500: '#defaa2',
    950: '#000000',
  },
}
SCSS
$custom: #defaa2;
$custom-light: #e9fcbe;
$custom-dark: #000000;
JSON
{
  "hex": "#defaa2",
  "rgb": {
    "r": 222,
    "g": 250,
    "b": 162
  },
  "hsl": {
    "h": 79.091,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.9447,
    "c": 0.11572,
    "h": 123
  },
  "luminance": 0.86509
}

Semantic roles & 50–950 ramp

primary
#DEFAA2
secondary
#8A64DC
accent
#00E649
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161712
muted
#848582

Preview Lab

Preview with #DEFAA2

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

Preview Lab → · Contrast checker → · Palette generator →

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