#DEFCA7#DEFCA7

#DEFCA7 is a very light, moderate yellow-green. Relative luminance 0.879; OKLCH L 95.0% C 0.113 H 124.3°. Best body text is #000000 at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#DEFCA7
RGBrgb(222, 252, 167)
HSLhsl(81, 93%, 82%)
HSVhsv(81, 34%, 99%)
CMYKcmyk(11.9%, 0%, 33.7%, 1.2%)
CIE-LABlab(95.14, -23.43, 37.58)
CIE-LCHlch(95.14, 44.29, 121.94°)
OKLaboklab(94.98% -0.0637 0.0933)
OKLCHoklch(94.98% 0.113 124.3)
XYZxyz(71.9090, 87.9401, 49.7375)
Luminance0.8794 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFCA7 #C5A7FC
analogous
#FCEFA7 #DEFCA7 #B4FCA7
triadic
#DEFCA7 #A7DEFC #FCA7DE
tetradic
#DEFCA7 #A7FCEF #C5A7FC #FCA7B4
square
#DEFCA7 #A7FCEF #C5A7FC #FCA7B4
split-complementary
#DEFCA7 #A7B4FC #EFA7FC
monochromatic
#B2F831 #C8FA6C #DEFCA7 #F4FEE1 #F4FEE1

Accessibility & contrast

On white

1.13
#DEFCA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.59
#DEFCA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFCA7
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFCA7#FFFFFF#000000##000000
##DEFCA71.001.1318.5918.59
#FFFFFF1.131.0021.0021.00
#00000018.5921.001.001.00
##00000018.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF2A1
Deuteranopia (green-blind)
#FFF1AB
Tritanopia (blue-blind)
#E4F4E6
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #defca7;
/* rgb */ color: rgb(222, 252, 167);
/* oklch */ color: oklch(95.0% 0.113 124.3);
Tailwind
colors: {
  custom: {
    50: '#e9fdc2',
    500: '#defca7',
    950: '#000000',
  },
}
SCSS
$custom: #defca7;
$custom-light: #e9fdc2;
$custom-dark: #000000;
JSON
{
  "hex": "#defca7",
  "rgb": {
    "r": 222,
    "g": 252,
    "b": 167
  },
  "hsl": {
    "h": 81.176,
    "s": 93.407,
    "l": 82.157
  },
  "oklch": {
    "l": 0.9498,
    "c": 0.11297,
    "h": 124.3
  },
  "luminance": 0.8794
}

Semantic roles & 50–950 ramp

primary
#DEFCA7
secondary
#9268DF
accent
#00E651
background
#FEFFFD
surface
#FDFFF9
border
#D5D7D2
text
#161712
muted
#848582

Preview Lab

Preview with #DEFCA7

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

Preview Lab → · Contrast checker → · Palette generator →

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