#DEFEB8#DEFEB8

#DEFEB8 is a very light, moderate yellow-green. Relative luminance 0.899; OKLCH L 95.7% C 0.097 H 128.1°. Best body text is #000000 at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#DEFEB8
RGBrgb(222, 254, 184)
HSLhsl(87, 97%, 86%)
HSVhsv(87, 28%, 100%)
CMYKcmyk(12.6%, 0%, 27.6%, 0.4%)
CIE-LABlab(95.94, -22.09, 30.16)
CIE-LCHlch(95.94, 37.39, 126.22°)
OKLaboklab(95.72% -0.0596 0.076)
OKLCHoklch(95.72% 0.097 128.1)
XYZxyz(74.2165, 89.8733, 58.7754)
Luminance0.8987 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFEB8 #D8B8FE
analogous
#FEFBB8 #DEFEB8 #BBFEB8
triadic
#DEFEB8 #B8DEFE #FEB8DE
tetradic
#DEFEB8 #B8FEFB #D8B8FE #FEB8BB
square
#DEFEB8 #B8FEFB #D8B8FE #FEB8BB
split-complementary
#DEFEB8 #B8BBFE #FBB8FE
monochromatic
#A6FC3F #C2FD7C #DEFEB8 #F1FFE1 #F1FFE1

Accessibility & contrast

On white

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

On black

18.97
#DEFEB8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFEB8
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFEB8#FFFFFF#000000##000000
##DEFEB81.001.1118.9718.97
#FFFFFF1.111.0021.0021.00
#00000018.9721.001.001.00
##00000018.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF5B4
Deuteranopia (green-blind)
#FFF3BB
Tritanopia (blue-blind)
#E1F8EB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #defeb8;
/* rgb */ color: rgb(222, 254, 184);
/* oklch */ color: oklch(95.7% 0.097 128.1);
Tailwind
colors: {
  custom: {
    50: '#e9fecd',
    500: '#defeb8',
    950: '#000000',
  },
}
SCSS
$custom: #defeb8;
$custom-light: #e9fecd;
$custom-dark: #000000;
JSON
{
  "hex": "#defeb8",
  "rgb": {
    "r": 222,
    "g": 254,
    "b": 184
  },
  "hsl": {
    "h": 87.429,
    "s": 97.222,
    "l": 85.882
  },
  "oklch": {
    "l": 0.95718,
    "c": 0.09658,
    "h": 128.1
  },
  "luminance": 0.89874
}

Semantic roles & 50–950 ramp

primary
#DEFEB8
secondary
#A875E5
accent
#00E669
background
#FEFFFE
surface
#FDFFFB
border
#D5D7D4
text
#161713
muted
#848583

Preview Lab

Preview with #DEFEB8

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

Preview Lab → · Contrast checker → · Palette generator →

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