#DEF8A8#DEF8A8

#DEF8A8 is a very light, moderate yellow-green. Relative luminance 0.855; OKLCH L 94.2% C 0.106 H 123.1°. Best body text is #000000 at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#DEF8A8
RGBrgb(222, 248, 168)
HSLhsl(80, 85%, 82%)
HSVhsv(80, 32%, 97%)
CMYKcmyk(10.5%, 0%, 32.3%, 2.7%)
CIE-LABlab(94.09, -21.39, 35.71)
CIE-LCHlch(94.09, 41.63, 120.92°)
OKLaboklab(94.15% -0.0579 0.0889)
OKLCHoklch(94.15% 0.106 123.1)
XYZxyz(70.7589, 85.4914, 49.8119)
Luminance0.8549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF8A8 #C2A8F8
analogous
#F8EAA8 #DEF8A8 #B6F8A8
triadic
#DEF8A8 #A8DEF8 #F8A8DE
tetradic
#DEF8A8 #A8F8EA #C2A8F8 #F8A8B6
square
#DEF8A8 #A8F8EA #C2A8F8 #F8A8B6
split-complementary
#DEF8A8 #A8B6F8 #EAA8F8
monochromatic
#B3EF37 #C9F36F #DEF8A8 #F3FDE1 #F4FDE3

Accessibility & contrast

On white

1.16
#DEF8A8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.10
#DEF8A8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF8A8
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF8A8#FFFFFF#000000##000000
##DEF8A81.001.1618.1018.10
#FFFFFF1.161.0021.0021.00
#00000018.1021.001.001.00
##00000018.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEFA3
Deuteranopia (green-blind)
#FEEEAC
Tritanopia (blue-blind)
#E4F0E3
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #def8a8;
/* rgb */ color: rgb(222, 248, 168);
/* oklch */ color: oklch(94.2% 0.106 123.1);
Tailwind
colors: {
  custom: {
    50: '#e9fac2',
    500: '#def8a8',
    950: '#000000',
  },
}
SCSS
$custom: #def8a8;
$custom-light: #e9fac2;
$custom-dark: #000000;
JSON
{
  "hex": "#def8a8",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 168
  },
  "hsl": {
    "h": 79.5,
    "s": 85.106,
    "l": 81.569
  },
  "oklch": {
    "l": 0.94153,
    "c": 0.10612,
    "h": 123.1
  },
  "luminance": 0.85492
}

Semantic roles & 50–950 ramp

primary
#DEF8A8
secondary
#8F6BD9
accent
#04E24C
background
#FEFFFD
surface
#FDFFF9
border
#D5D7D2
text
#161712
muted
#848582

Preview Lab

Preview with #DEF8A8

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

Preview Lab → · Contrast checker → · Palette generator →

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