#DEFEA7#DEFEA7

#DEFEA7 is a very light, moderate yellow-green. Relative luminance 0.892; OKLCH L 95.4% C 0.116 H 125.0°. Best body text is #000000 at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#DEFEA7
RGBrgb(222, 254, 167)
HSLhsl(82, 98%, 83%)
HSVhsv(82, 34%, 100%)
CMYKcmyk(12.6%, 0%, 34.3%, 0.4%)
CIE-LABlab(95.67, -24.38, 38.28)
CIE-LCHlch(95.67, 45.39, 122.50°)
OKLaboklab(95.4% -0.0664 0.0949)
OKLCHoklch(95.4% 0.116 125)
XYZxyz(72.5404, 89.2029, 49.9480)
Luminance0.8920 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFEA7 #C7A7FE
analogous
#FEF3A7 #DEFEA7 #B2FEA7
triadic
#DEFEA7 #A7DEFE #FEA7DE
tetradic
#DEFEA7 #A7FEF3 #C7A7FE #FEA7B2
square
#DEFEA7 #A7FEF3 #C7A7FE #FEA7B2
split-complementary
#DEFEA7 #A7B2FE #F3A7FE
monochromatic
#B1FD2E #C7FD6A #DEFEA7 #F4FFE1 #F4FFE1

Accessibility & contrast

On white

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

On black

18.84
#DEFEA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFEA7
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFEA7#FFFFFF#000000##000000
##DEFEA71.001.1118.8418.84
#FFFFFF1.111.0021.0021.00
#00000018.8421.001.001.00
##00000018.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF4A1
Deuteranopia (green-blind)
#FFF2AB
Tritanopia (blue-blind)
#E3F6E8
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #defea7;
/* rgb */ color: rgb(222, 254, 167);
/* oklch */ color: oklch(95.4% 0.116 125.0);
Tailwind
colors: {
  custom: {
    50: '#e9fec2',
    500: '#defea7',
    950: '#000000',
  },
}
SCSS
$custom: #defea7;
$custom-light: #e9fec2;
$custom-dark: #000000;
JSON
{
  "hex": "#defea7",
  "rgb": {
    "r": 222,
    "g": 254,
    "b": 167
  },
  "hsl": {
    "h": 82.069,
    "s": 97.753,
    "l": 82.549
  },
  "oklch": {
    "l": 0.95404,
    "c": 0.11584,
    "h": 125
  },
  "luminance": 0.89203
}

Semantic roles & 50–950 ramp

primary
#DEFEA7
secondary
#9467E2
accent
#00E654
background
#FEFFFD
surface
#FDFFF9
border
#D5D7D2
text
#161712
muted
#848582

Preview Lab

Preview with #DEFEA7

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

Preview Lab → · Contrast checker → · Palette generator →

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