#DEF2B4#DEF2B4

#DEF2B4 is a very light, moderate yellow-green. Relative luminance 0.823; OKLCH L 93.1% C 0.083 H 122.5°. Best body text is #000000 at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#DEF2B4
RGBrgb(222, 242, 180)
HSLhsl(79, 70%, 83%)
HSVhsv(79, 26%, 95%)
CMYKcmyk(8.3%, 0%, 25.6%, 5.1%)
CIE-LABlab(92.72, -16.84, 27.81)
CIE-LCHlch(92.72, 32.51, 121.20°)
OKLaboklab(93.12% -0.0449 0.0703)
OKLCHoklch(93.12% 0.083 122.5)
XYZxyz(70.1137, 82.3291, 55.3685)
Luminance0.8233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF2B4 #C8B4F2
analogous
#F2E7B4 #DEF2B4 #BFF2B4
triadic
#DEF2B4 #B4DEF2 #F2B4DE
tetradic
#DEF2B4 #B4F2E7 #C8B4F2 #F2B4BF
square
#DEF2B4 #B4F2E7 #C8B4F2 #F2B4BF
split-complementary
#DEF2B4 #B4BFF2 #E7B4F2
monochromatic
#B0E04C #C7E980 #DEF2B4 #F4FAE5 #F4FAE5

Accessibility & contrast

On white

1.20
#DEF2B4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.47
#DEF2B4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF2B4
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF2B4#FFFFFF#000000##000000
##DEF2B41.001.2017.4717.47
#FFFFFF1.201.0021.0021.00
#00000017.4721.001.001.00
##00000017.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAEBB0
Deuteranopia (green-blind)
#F7EAB7
Tritanopia (blue-blind)
#E3ECE1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def2b4;
/* rgb */ color: rgb(222, 242, 180);
/* oklch */ color: oklch(93.1% 0.083 122.5);
Tailwind
colors: {
  custom: {
    50: '#e8f6ca',
    500: '#def2b4',
    950: '#000000',
  },
}
SCSS
$custom: #def2b4;
$custom-light: #e8f6ca;
$custom-dark: #000000;
JSON
{
  "hex": "#def2b4",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 180
  },
  "hsl": {
    "h": 79.355,
    "s": 70.455,
    "l": 82.745
  },
  "oklch": {
    "l": 0.93124,
    "c": 0.0834,
    "h": 122.5
  },
  "luminance": 0.82329
}

Semantic roles & 50–950 ramp

primary
#DEF2B4
secondary
#9579D1
accent
#13D251
background
#FEFFFD
surface
#FDFEF9
border
#D5D6D2
text
#161713
muted
#848582

Preview Lab

Preview with #DEF2B4

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

Preview Lab → · Contrast checker → · Palette generator →

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