#DEF7CA#DEF7CA

#DEF7CA is a very light, moderate yellow-green. Relative luminance 0.863; OKLCH L 94.6% C 0.065 H 131.3°. Best body text is #000000 at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#DEF7CA
RGBrgb(222, 247, 202)
HSLhsl(93, 74%, 88%)
HSVhsv(93, 18%, 97%)
CMYKcmyk(10.1%, 0%, 18.2%, 3.1%)
CIE-LABlab(94.45, -16.00, 18.95)
CIE-LCHlch(94.45, 24.80, 130.17°)
OKLaboklab(94.64% -0.0428 0.0487)
OKLCHoklch(94.64% 0.065 131.3)
XYZxyz(74.0438, 86.3148, 68.6252)
Luminance0.8631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF7CA #E3CAF7
analogous
#F4F7CA #DEF7CA #CAF7CC
triadic
#DEF7CA #CADEF7 #F7CADE
tetradic
#DEF7CA #CAF4F7 #E3CAF7 #F7CCCA
square
#DEF7CA #CAF4F7 #E3CAF7 #F7CCCA
split-complementary
#DEF7CA #CCCAF7 #F7CAF4
monochromatic
#9CE760 #BDEF95 #DEF7CA #EEFBE4 #EEFBE4

Accessibility & contrast

On white

1.15
#DEF7CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.26
#DEF7CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF7CA
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF7CA#FFFFFF#000000##000000
##DEF7CA1.001.1518.2618.26
#FFFFFF1.151.0021.0021.00
#00000018.2621.001.001.00
##00000018.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCF0C7
Deuteranopia (green-blind)
#F7EECC
Tritanopia (blue-blind)
#DFF3EA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #def7ca;
/* rgb */ color: rgb(222, 247, 202);
/* oklch */ color: oklch(94.6% 0.065 131.3);
Tailwind
colors: {
  custom: {
    50: '#e8f9da',
    500: '#def7ca',
    950: '#000000',
  },
}
SCSS
$custom: #def7ca;
$custom-light: #e8f9da;
$custom-dark: #000000;
JSON
{
  "hex": "#def7ca",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 202
  },
  "hsl": {
    "h": 93.333,
    "s": 73.77,
    "l": 88.039
  },
  "oklch": {
    "l": 0.94636,
    "c": 0.06481,
    "h": 131.3
  },
  "luminance": 0.86315
}

Semantic roles & 50–950 ramp

primary
#DEF7CA
secondary
#B78BDA
accent
#10D67E
background
#FEFFFE
surface
#FCFFFB
border
#D5D7D4
text
#161714
muted
#848583

Preview Lab

Preview with #DEF7CA

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

Preview Lab → · Contrast checker → · Palette generator →

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