#DEFEB3#DEFEB3

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

Color values

HEX#DEFEB3
RGBrgb(222, 254, 179)
HSLhsl(86, 97%, 85%)
HSVhsv(86, 30%, 100%)
CMYKcmyk(12.6%, 0%, 29.5%, 0.4%)
CIE-LABlab(95.86, -22.79, 32.56)
CIE-LCHlch(95.86, 39.74, 124.99°)
OKLaboklab(95.62% -0.0616 0.0817)
OKLCHoklch(95.62% 0.102 127)
XYZxyz(73.7016, 89.6674, 56.0638)
Luminance0.8967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFEB3 #D3B3FE
analogous
#FEF9B3 #DEFEB3 #B9FEB3
triadic
#DEFEB3 #B3DEFE #FEB3DE
tetradic
#DEFEB3 #B3FEF9 #D3B3FE #FEB3B9
square
#DEFEB3 #B3FEF9 #D3B3FE #FEB3B9
split-complementary
#DEFEB3 #B3B9FE #F9B3FE
monochromatic
#AAFC3A #C4FD77 #DEFEB3 #F2FFE1 #F2FFE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEFEB3#FFFFFF#000000##000000
##DEFEB31.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)
#FFF4AE
Deuteranopia (green-blind)
#FFF3B7
Tritanopia (blue-blind)
#E2F7EA
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #defeb3;
/* rgb */ color: rgb(222, 254, 179);
/* oklch */ color: oklch(95.6% 0.102 127.0);
Tailwind
colors: {
  custom: {
    50: '#e9feca',
    500: '#defeb3',
    950: '#000000',
  },
}
SCSS
$custom: #defeb3;
$custom-light: #e9feca;
$custom-dark: #000000;
JSON
{
  "hex": "#defeb3",
  "rgb": {
    "r": 222,
    "g": 254,
    "b": 179
  },
  "hsl": {
    "h": 85.6,
    "s": 97.403,
    "l": 84.902
  },
  "oklch": {
    "l": 0.95622,
    "c": 0.10231,
    "h": 127
  },
  "luminance": 0.89668
}

Semantic roles & 50–950 ramp

primary
#DEFEB3
secondary
#A271E4
accent
#00E662
background
#FEFFFD
surface
#FDFFF9
border
#D5D7D2
text
#161713
muted
#848582

Preview Lab

Preview with #DEFEB3

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

Preview Lab → · Contrast checker → · Palette generator →

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