#DEFEC2#DEFEC2

#DEFEC2 is a very light, moderate yellow-green. Relative luminance 0.903; OKLCH L 95.9% C 0.085 H 130.7°. Best body text is #000000 at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#DEFEC2
RGBrgb(222, 254, 194)
HSLhsl(92, 97%, 88%)
HSVhsv(92, 24%, 100%)
CMYKcmyk(12.6%, 0%, 23.6%, 0.4%)
CIE-LABlab(96.12, -20.64, 25.35)
CIE-LCHlch(96.12, 32.69, 129.14°)
OKLaboklab(95.92% -0.0555 0.0645)
OKLCHoklch(95.92% 0.085 130.7)
XYZxyz(75.3020, 90.3075, 64.4924)
Luminance0.9031 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFEC2 #E2C2FE
analogous
#FCFEC2 #DEFEC2 #C2FEC4
triadic
#DEFEC2 #C2DEFE #FEC2DE
tetradic
#DEFEC2 #C2FCFE #E2C2FE #FEC4C2
square
#DEFEC2 #C2FCFE #E2C2FE #FEC4C2
split-complementary
#DEFEC2 #C4C2FE #FEC2FC
monochromatic
#9DFC4A #BDFD86 #DEFEC2 #EFFFE1 #EFFFE1

Accessibility & contrast

On white

1.10
#DEFEC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.06
#DEFEC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFEC2
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFEC2#FFFFFF#000000##000000
##DEFEC21.001.1019.0619.06
#FFFFFF1.101.0021.0021.00
#00000019.0621.001.001.00
##00000019.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF5BE
Deuteranopia (green-blind)
#FFF3C5
Tritanopia (blue-blind)
#E0F9EE
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #defec2;
/* rgb */ color: rgb(222, 254, 194);
/* oklch */ color: oklch(95.9% 0.085 130.7);
Tailwind
colors: {
  custom: {
    50: '#e8fed4',
    500: '#defec2',
    950: '#000000',
  },
}
SCSS
$custom: #defec2;
$custom-light: #e8fed4;
$custom-dark: #000000;
JSON
{
  "hex": "#defec2",
  "rgb": {
    "r": 222,
    "g": 254,
    "b": 194
  },
  "hsl": {
    "h": 92,
    "s": 96.774,
    "l": 87.843
  },
  "oklch": {
    "l": 0.95921,
    "c": 0.08508,
    "h": 130.7
  },
  "luminance": 0.90308
}

Semantic roles & 50–950 ramp

primary
#DEFEC2
secondary
#B67EE6
accent
#00E67A
background
#FEFFFE
surface
#FDFFFB
border
#D5D7D4
text
#161714
muted
#848583

Preview Lab

Preview with #DEFEC2

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

Preview Lab → · Contrast checker → · Palette generator →

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