#DEFEB7#DEFEB7

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

Color values

HEX#DEFEB7
RGBrgb(222, 254, 183)
HSLhsl(87, 97%, 86%)
HSVhsv(87, 28%, 100%)
CMYKcmyk(12.6%, 0%, 28%, 0.4%)
CIE-LABlab(95.93, -22.24, 30.64)
CIE-LCHlch(95.93, 37.86, 125.97°)
OKLaboklab(95.7% -0.06 0.0772)
OKLCHoklch(95.7% 0.098 127.8)
XYZxyz(74.1120, 89.8315, 58.2253)
Luminance0.8983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFEB7 #D7B7FE
analogous
#FEFAB7 #DEFEB7 #BAFEB7
triadic
#DEFEB7 #B7DEFE #FEB7DE
tetradic
#DEFEB7 #B7FEFA #D7B7FE #FEB7BA
square
#DEFEB7 #B7FEFA #D7B7FE #FEB7BA
split-complementary
#DEFEB7 #B7BAFE #FAB7FE
monochromatic
#A7FC3E #C2FD7B #DEFEB7 #F1FFE1 #F1FFE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEFEB7#FFFFFF#000000##000000
##DEFEB71.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)
#FFF5B2
Deuteranopia (green-blind)
#FFF3BA
Tritanopia (blue-blind)
#E1F8EB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #defeb7;
/* rgb */ color: rgb(222, 254, 183);
/* oklch */ color: oklch(95.7% 0.098 127.8);
Tailwind
colors: {
  custom: {
    50: '#e9fecd',
    500: '#defeb7',
    950: '#000000',
  },
}
SCSS
$custom: #defeb7;
$custom-light: #e9fecd;
$custom-dark: #000000;
JSON
{
  "hex": "#defeb7",
  "rgb": {
    "r": 222,
    "g": 254,
    "b": 183
  },
  "hsl": {
    "h": 87.042,
    "s": 97.26,
    "l": 85.686
  },
  "oklch": {
    "l": 0.95699,
    "c": 0.09773,
    "h": 127.8
  },
  "luminance": 0.89832
}

Semantic roles & 50–950 ramp

primary
#DEFEB7
secondary
#A774E5
accent
#00E667
background
#FEFFFE
surface
#FDFFFA
border
#D5D7D3
text
#161713
muted
#848583

Preview Lab

Preview with #DEFEB7

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

Preview Lab → · Contrast checker → · Palette generator →

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