#DEF8A5#DEF8A5

#DEF8A5 is a very light, moderate yellow-green. Relative luminance 0.854; OKLCH L 94.1% C 0.110 H 122.6°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#DEF8A5
RGBrgb(222, 248, 165)
HSLhsl(79, 86%, 81%)
HSVhsv(79, 33%, 97%)
CMYKcmyk(10.5%, 0%, 33.5%, 2.7%)
CIE-LABlab(94.05, -21.77, 37.14)
CIE-LCHlch(94.05, 43.06, 120.38°)
OKLaboklab(94.1% -0.0591 0.0922)
OKLCHoklch(94.1% 0.11 122.6)
XYZxyz(70.4827, 85.3809, 48.3570)
Luminance0.8538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF8A5 #BFA5F8
analogous
#F8E8A5 #DEF8A5 #B4F8A5
triadic
#DEF8A5 #A5DEF8 #F8A5DE
tetradic
#DEF8A5 #A5F8E8 #BFA5F8 #F8A5B4
square
#DEF8A5 #A5F8E8 #BFA5F8 #F8A5B4
split-complementary
#DEF8A5 #A5B4F8 #E8A5F8
monochromatic
#B4EF33 #C9F46C #DEF8A5 #F3FCDE #F5FDE3

Accessibility & contrast

On white

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

On black

18.08
#DEF8A5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF8A5
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF8A5#FFFFFF#000000##000000
##DEF8A51.001.1618.0818.08
#FFFFFF1.161.0021.0021.00
#00000018.0821.001.001.00
##00000018.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def8a5;
/* rgb */ color: rgb(222, 248, 165);
/* oklch */ color: oklch(94.1% 0.110 122.6);
Tailwind
colors: {
  custom: {
    50: '#e9fac0',
    500: '#def8a5',
    950: '#000000',
  },
}
SCSS
$custom: #def8a5;
$custom-light: #e9fac0;
$custom-dark: #000000;
JSON
{
  "hex": "#def8a5",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 165
  },
  "hsl": {
    "h": 78.795,
    "s": 85.567,
    "l": 80.98
  },
  "oklch": {
    "l": 0.941,
    "c": 0.10953,
    "h": 122.6
  },
  "luminance": 0.85381
}

Semantic roles & 50–950 ramp

primary
#DEF8A5
secondary
#8B68D9
accent
#03E249
background
#FEFFFD
surface
#FDFFF9
border
#D5D7D2
text
#161712
muted
#848582

Preview Lab

Preview with #DEF8A5

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

Preview Lab → · Contrast checker → · Palette generator →

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