#DEFEB2#DEFEB2

#DEFEB2 is a very light, moderate yellow-green. Relative luminance 0.896; OKLCH L 95.6% C 0.103 H 126.8°. Best body text is #000000 at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#DEFEB2
RGBrgb(222, 254, 178)
HSLhsl(85, 97%, 85%)
HSVhsv(85, 30%, 100%)
CMYKcmyk(12.6%, 0%, 29.9%, 0.4%)
CIE-LABlab(95.84, -22.93, 33.04)
CIE-LCHlch(95.84, 40.21, 124.76°)
OKLaboklab(95.6% -0.062 0.0828)
OKLCHoklch(95.6% 0.103 126.8)
XYZxyz(73.6009, 89.6270, 55.5331)
Luminance0.8963 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFEB2 #D2B2FE
analogous
#FEF8B2 #DEFEB2 #B8FEB2
triadic
#DEFEB2 #B2DEFE #FEB2DE
tetradic
#DEFEB2 #B2FEF8 #D2B2FE #FEB2B8
square
#DEFEB2 #B2FEF8 #D2B2FE #FEB2B8
split-complementary
#DEFEB2 #B2B8FE #F8B2FE
monochromatic
#AAFC39 #C4FD76 #DEFEB2 #F2FFE1 #F2FFE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEFEB2#FFFFFF#000000##000000
##DEFEB21.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)
#FFF4AD
Deuteranopia (green-blind)
#FFF3B6
Tritanopia (blue-blind)
#E2F7EA
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #defeb2;
/* rgb */ color: rgb(222, 254, 178);
/* oklch */ color: oklch(95.6% 0.103 126.8);
Tailwind
colors: {
  custom: {
    50: '#e9fec9',
    500: '#defeb2',
    950: '#000000',
  },
}
SCSS
$custom: #defeb2;
$custom-light: #e9fec9;
$custom-dark: #000000;
JSON
{
  "hex": "#defeb2",
  "rgb": {
    "r": 222,
    "g": 254,
    "b": 178
  },
  "hsl": {
    "h": 85.263,
    "s": 97.436,
    "l": 84.706
  },
  "oklch": {
    "l": 0.95603,
    "c": 0.10344,
    "h": 126.8
  },
  "luminance": 0.89628
}

Semantic roles & 50–950 ramp

primary
#DEFEB2
secondary
#A170E4
accent
#00E661
background
#FEFFFD
surface
#FDFFF9
border
#D5D7D2
text
#161713
muted
#848582

Preview Lab

Preview with #DEFEB2

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

Preview Lab → · Contrast checker → · Palette generator →

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