#DEFCA2#DEFCA2

#DEFCA2 is a very light, moderate yellow-green. Relative luminance 0.878; OKLCH L 94.9% C 0.119 H 123.6°. Best body text is #000000 at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#DEFCA2
RGBrgb(222, 252, 162)
HSLhsl(80, 94%, 81%)
HSVhsv(80, 36%, 99%)
CMYKcmyk(11.9%, 0%, 35.7%, 1.2%)
CIE-LABlab(95.06, -24.06, 39.96)
CIE-LCHlch(95.06, 46.64, 121.06°)
OKLaboklab(94.89% -0.0657 0.0987)
OKLCHoklch(94.89% 0.119 123.6)
XYZxyz(71.4557, 87.7588, 47.3501)
Luminance0.8776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFCA2 #C0A2FC
analogous
#FCEDA2 #DEFCA2 #B1FCA2
triadic
#DEFCA2 #A2DEFC #FCA2DE
tetradic
#DEFCA2 #A2FCED #C0A2FC #FCA2B1
square
#DEFCA2 #A2FCED #C0A2FC #FCA2B1
split-complementary
#DEFCA2 #A2B1FC #EDA2FC
monochromatic
#B4F82B #C9FA67 #DEFCA2 #F3FEDD #F4FEE1

Accessibility & contrast

On white

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

On black

18.55
#DEFCA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFCA2
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFCA2#FFFFFF#000000##000000
##DEFCA21.001.1318.5518.55
#FFFFFF1.131.0021.0021.00
#00000018.5521.001.001.00
##00000018.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF29C
Deuteranopia (green-blind)
#FFF1A6
Tritanopia (blue-blind)
#E4F4E5
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #defca2;
/* rgb */ color: rgb(222, 252, 162);
/* oklch */ color: oklch(94.9% 0.119 123.6);
Tailwind
colors: {
  custom: {
    50: '#e9fdbe',
    500: '#defca2',
    950: '#000000',
  },
}
SCSS
$custom: #defca2;
$custom-light: #e9fdbe;
$custom-dark: #000000;
JSON
{
  "hex": "#defca2",
  "rgb": {
    "r": 222,
    "g": 252,
    "b": 162
  },
  "hsl": {
    "h": 80,
    "s": 93.75,
    "l": 81.176
  },
  "oklch": {
    "l": 0.94894,
    "c": 0.11854,
    "h": 123.6
  },
  "luminance": 0.87759
}

Semantic roles & 50–950 ramp

primary
#DEFCA2
secondary
#8D63DF
accent
#00E64D
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161712
muted
#848582

Preview Lab

Preview with #DEFCA2

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

Preview Lab → · Contrast checker → · Palette generator →

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