#DEFBA2#DEFBA2

#DEFBA2 is a very light, moderate yellow-green. Relative luminance 0.871; OKLCH L 94.7% C 0.117 H 123.3°. Best body text is #000000 at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#DEFBA2
RGBrgb(222, 251, 162)
HSLhsl(80, 92%, 81%)
HSVhsv(80, 35%, 98%)
CMYKcmyk(11.6%, 0%, 35.5%, 1.6%)
CIE-LABlab(94.79, -23.59, 39.61)
CIE-LCHlch(94.79, 46.10, 120.77°)
OKLaboklab(94.68% -0.0643 0.0979)
OKLCHoklch(94.68% 0.117 123.3)
XYZxyz(71.1425, 87.1324, 47.2457)
Luminance0.8713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFBA2 #BFA2FB
analogous
#FBECA2 #DEFBA2 #B1FBA2
triadic
#DEFBA2 #A2DEFB #FBA2DE
tetradic
#DEFBA2 #A2FBEC #BFA2FB #FBA2B1
square
#DEFBA2 #A2FBEC #BFA2FB #FBA2B1
split-complementary
#DEFBA2 #A2B1FB #ECA2FB
monochromatic
#B4F62D #C9F867 #DEFBA2 #F3FEDD #F5FEE2

Accessibility & contrast

On white

1.14
#DEFBA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.43
#DEFBA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFBA2
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFBA2#FFFFFF#000000##000000
##DEFBA21.001.1418.4318.43
#FFFFFF1.141.0021.0021.00
#00000018.4321.001.001.00
##00000018.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF19C
Deuteranopia (green-blind)
#FFF0A6
Tritanopia (blue-blind)
#E4F3E5
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #defba2;
/* rgb */ color: rgb(222, 251, 162);
/* oklch */ color: oklch(94.7% 0.117 123.3);
Tailwind
colors: {
  custom: {
    50: '#e9fcbe',
    500: '#defba2',
    950: '#000000',
  },
}
SCSS
$custom: #defba2;
$custom-light: #e9fcbe;
$custom-dark: #000000;
JSON
{
  "hex": "#defba2",
  "rgb": {
    "r": 222,
    "g": 251,
    "b": 162
  },
  "hsl": {
    "h": 79.551,
    "s": 91.753,
    "l": 80.98
  },
  "oklch": {
    "l": 0.94682,
    "c": 0.11714,
    "h": 123.3
  },
  "luminance": 0.87133
}

Semantic roles & 50–950 ramp

primary
#DEFBA2
secondary
#8B64DD
accent
#00E64B
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161712
muted
#848582

Preview Lab

Preview with #DEFBA2

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

Preview Lab → · Contrast checker → · Palette generator →

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