#DEF8CA#DEF8CA

#DEF8CA is a very light, moderate yellow-green. Relative luminance 0.869; OKLCH L 94.8% C 0.066 H 131.7°. Best body text is #000000 at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#DEF8CA
RGBrgb(222, 248, 202)
HSLhsl(94, 77%, 88%)
HSVhsv(94, 19%, 97%)
CMYKcmyk(10.5%, 0%, 18.5%, 2.7%)
CIE-LABlab(94.71, -16.49, 19.31)
CIE-LCHlch(94.71, 25.39, 130.49°)
OKLaboklab(94.84% -0.0441 0.0496)
OKLCHoklch(94.84% 0.066 131.7)
XYZxyz(74.3505, 86.9280, 68.7274)
Luminance0.8693 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF8CA #E4CAF8
analogous
#F5F8CA #DEF8CA #CAF8CD
triadic
#DEF8CA #CADEF8 #F8CADE
tetradic
#DEF8CA #CAF5F8 #E4CAF8 #F8CDCA
square
#DEF8CA #CAF5F8 #E4CAF8 #F8CDCA
split-complementary
#DEF8CA #CDCAF8 #F8CAF5
monochromatic
#9BEA5E #BCF194 #DEF8CA #EEFBE4 #EEFBE4

Accessibility & contrast

On white

1.14
#DEF8CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.39
#DEF8CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF8CA
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF8CA#FFFFFF#000000##000000
##DEF8CA1.001.1418.3918.39
#FFFFFF1.141.0021.0021.00
#00000018.3921.001.001.00
##00000018.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDF1C7
Deuteranopia (green-blind)
#F8EFCC
Tritanopia (blue-blind)
#DFF4EB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #def8ca;
/* rgb */ color: rgb(222, 248, 202);
/* oklch */ color: oklch(94.8% 0.066 131.7);
Tailwind
colors: {
  custom: {
    50: '#e8fada',
    500: '#def8ca',
    950: '#000000',
  },
}
SCSS
$custom: #def8ca;
$custom-light: #e8fada;
$custom-dark: #000000;
JSON
{
  "hex": "#def8ca",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 202
  },
  "hsl": {
    "h": 93.913,
    "s": 76.667,
    "l": 88.235
  },
  "oklch": {
    "l": 0.94844,
    "c": 0.06639,
    "h": 131.7
  },
  "luminance": 0.86929
}

Semantic roles & 50–950 ramp

primary
#DEF8CA
secondary
#B88ADC
accent
#0DD980
background
#FEFFFE
surface
#FCFFFB
border
#D5D7D4
text
#161714
muted
#848583

Preview Lab

Preview with #DEF8CA

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

Preview Lab → · Contrast checker → · Palette generator →

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