#DEF2CA#DEF2CA

#DEF2CA is a very light, muted yellow-green. Relative luminance 0.833; OKLCH L 93.6% C 0.057 H 129.2°. Best body text is #000000 at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#DEF2CA
RGBrgb(222, 242, 202)
HSLhsl(90, 61%, 87%)
HSVhsv(90, 17%, 95%)
CMYKcmyk(8.3%, 0%, 16.5%, 5.1%)
CIE-LABlab(93.14, -13.53, 17.12)
CIE-LCHlch(93.14, 21.82, 128.31°)
OKLaboklab(93.6% -0.0359 0.0441)
OKLCHoklch(93.6% 0.057 129.2)
XYZxyz(72.5353, 83.2977, 68.1223)
Luminance0.8330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF2CA #DECAF2
analogous
#F2F2CA #DEF2CA #CAF2CA
triadic
#DEF2CA #CADEF2 #F2CADE
tetradic
#DEF2CA #CAF2F2 #DECAF2 #F2CACA
square
#DEF2CA #CAF2F2 #DECAF2 #F2CACA
split-complementary
#DEF2CA #CACAF2 #F2CAF2
monochromatic
#A1DA68 #BFE699 #DEF2CA #F0F9E6 #F0F9E6

Accessibility & contrast

On white

1.19
#DEF2CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.66
#DEF2CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF2CA
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF2CA#FFFFFF#000000##000000
##DEF2CA1.001.1917.6617.66
#FFFFFF1.191.0021.0021.00
#00000017.6621.001.001.00
##00000017.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6ECC8
Deuteranopia (green-blind)
#F3EBCC
Tritanopia (blue-blind)
#E0EEE7
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #def2ca;
/* rgb */ color: rgb(222, 242, 202);
/* oklch */ color: oklch(93.6% 0.057 129.2);
Tailwind
colors: {
  custom: {
    50: '#e8f6da',
    500: '#def2ca',
    950: '#000000',
  },
}
SCSS
$custom: #def2ca;
$custom-light: #e8f6da;
$custom-dark: #000000;
JSON
{
  "hex": "#def2ca",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 202
  },
  "hsl": {
    "h": 90,
    "s": 60.606,
    "l": 87.059
  },
  "oklch": {
    "l": 0.93601,
    "c": 0.05689,
    "h": 129.2
  },
  "luminance": 0.83298
}

Semantic roles & 50–950 ramp

primary
#DEF2CA
secondary
#B08FD2
accent
#1DC873
background
#FEFFFE
surface
#FCFEFB
border
#D5D6D4
text
#161714
muted
#848583

Preview Lab

Preview with #DEF2CA

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

Preview Lab → · Contrast checker → · Palette generator →

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