#DEF8A7#DEF8A7

#DEF8A7 is a very light, moderate yellow-green. Relative luminance 0.855; OKLCH L 94.1% C 0.107 H 122.9°. Best body text is #000000 at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#DEF8A7
RGBrgb(222, 248, 167)
HSLhsl(79, 85%, 81%)
HSVhsv(79, 33%, 97%)
CMYKcmyk(10.5%, 0%, 32.7%, 2.7%)
CIE-LABlab(94.08, -21.52, 36.19)
CIE-LCHlch(94.08, 42.10, 120.73°)
OKLaboklab(94.14% -0.0583 0.09)
OKLCHoklch(94.14% 0.107 122.9)
XYZxyz(70.6661, 85.4543, 49.3232)
Luminance0.8545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF8A7 #C1A7F8
analogous
#F8EAA7 #DEF8A7 #B6F8A7
triadic
#DEF8A7 #A7DEF8 #F8A7DE
tetradic
#DEF8A7 #A7F8EA #C1A7F8 #F8A7B6
square
#DEF8A7 #A7F8EA #C1A7F8 #F8A7B6
split-complementary
#DEF8A7 #A7B6F8 #EAA7F8
monochromatic
#B3EF36 #C9F36E #DEF8A7 #F3FDE0 #F4FDE3

Accessibility & contrast

On white

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

On black

18.09
#DEF8A7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF8A7
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF8A7#FFFFFF#000000##000000
##DEF8A71.001.1618.0918.09
#FFFFFF1.161.0021.0021.00
#00000018.0921.001.001.00
##00000018.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def8a7;
/* rgb */ color: rgb(222, 248, 167);
/* oklch */ color: oklch(94.1% 0.107 122.9);
Tailwind
colors: {
  custom: {
    50: '#e9fac2',
    500: '#def8a7',
    950: '#000000',
  },
}
SCSS
$custom: #def8a7;
$custom-light: #e9fac2;
$custom-dark: #000000;
JSON
{
  "hex": "#def8a7",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 167
  },
  "hsl": {
    "h": 79.259,
    "s": 85.263,
    "l": 81.373
  },
  "oklch": {
    "l": 0.94135,
    "c": 0.10726,
    "h": 122.9
  },
  "luminance": 0.85454
}

Semantic roles & 50–950 ramp

primary
#DEF8A7
secondary
#8E6AD9
accent
#04E24B
background
#FEFFFD
surface
#FDFFF9
border
#D5D7D2
text
#161712
muted
#848582

Preview Lab

Preview with #DEF8A7

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

Preview Lab → · Contrast checker → · Palette generator →

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