#DEF8A4#DEF8A4

#DEF8A4 is a very light, moderate yellow-green. Relative luminance 0.853; OKLCH L 94.1% C 0.111 H 122.5°. Best body text is #000000 at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#DEF8A4
RGBrgb(222, 248, 164)
HSLhsl(79, 86%, 81%)
HSVhsv(79, 34%, 97%)
CMYKcmyk(10.5%, 0%, 33.9%, 2.7%)
CIE-LABlab(94.03, -21.90, 37.62)
CIE-LCHlch(94.03, 43.53, 120.20°)
OKLaboklab(94.08% -0.0595 0.0933)
OKLCHoklch(94.08% 0.111 122.5)
XYZxyz(70.3920, 85.3446, 47.8795)
Luminance0.8535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF8A4 #BEA4F8
analogous
#F8E8A4 #DEF8A4 #B4F8A4
triadic
#DEF8A4 #A4DEF8 #F8A4DE
tetradic
#DEF8A4 #A4F8E8 #BEA4F8 #F8A4B4
square
#DEF8A4 #A4F8E8 #BEA4F8 #F8A4B4
split-complementary
#DEF8A4 #A4B4F8 #E8A4F8
monochromatic
#B5EF32 #C9F46B #DEF8A4 #F3FCDD #F5FDE3

Accessibility & contrast

On white

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

On black

18.07
#DEF8A4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF8A4
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF8A4#FFFFFF#000000##000000
##DEF8A41.001.1618.0718.07
#FFFFFF1.161.0021.0021.00
#00000018.0721.001.001.00
##00000018.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def8a4;
/* rgb */ color: rgb(222, 248, 164);
/* oklch */ color: oklch(94.1% 0.111 122.5);
Tailwind
colors: {
  custom: {
    50: '#e9fabf',
    500: '#def8a4',
    950: '#000000',
  },
}
SCSS
$custom: #def8a4;
$custom-light: #e9fabf;
$custom-dark: #000000;
JSON
{
  "hex": "#def8a4",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 164
  },
  "hsl": {
    "h": 78.571,
    "s": 85.714,
    "l": 80.784
  },
  "oklch": {
    "l": 0.94082,
    "c": 0.11066,
    "h": 122.5
  },
  "luminance": 0.85345
}

Semantic roles & 50–950 ramp

primary
#DEF8A4
secondary
#8A67D9
accent
#03E248
background
#FEFFFD
surface
#FDFFF9
border
#D5D7D2
text
#161712
muted
#848582

Preview Lab

Preview with #DEF8A4

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

Preview Lab → · Contrast checker → · Palette generator →

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