#DEF8A3#DEF8A3

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

Color values

HEX#DEF8A3
RGBrgb(222, 248, 163)
HSLhsl(78, 86%, 81%)
HSVhsv(78, 34%, 97%)
CMYKcmyk(10.5%, 0%, 34.3%, 2.7%)
CIE-LABlab(94.02, -22.02, 38.10)
CIE-LCHlch(94.02, 44.01, 120.03°)
OKLaboklab(94.07% -0.0599 0.0944)
OKLCHoklch(94.07% 0.112 122.4)
XYZxyz(70.3020, 85.3087, 47.4058)
Luminance0.8531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF8A3 #BDA3F8
analogous
#F8E7A3 #DEF8A3 #B3F8A3
triadic
#DEF8A3 #A3DEF8 #F8A3DE
tetradic
#DEF8A3 #A3F8E7 #BDA3F8 #F8A3B3
square
#DEF8A3 #A3F8E7 #BDA3F8 #F8A3B3
split-complementary
#DEF8A3 #A3B3F8 #E7A3F8
monochromatic
#B5EF31 #CAF46A #DEF8A3 #F2FCDC #F5FDE3

Accessibility & contrast

On white

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

On black

18.06
#DEF8A3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF8A3
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF8A3#FFFFFF#000000##000000
##DEF8A31.001.1618.0618.06
#FFFFFF1.161.0021.0021.00
#00000018.0621.001.001.00
##00000018.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE9D
Deuteranopia (green-blind)
#FEEEA7
Tritanopia (blue-blind)
#E4F0E2
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #def8a3;
/* rgb */ color: rgb(222, 248, 163);
/* oklch */ color: oklch(94.1% 0.112 122.4);
Tailwind
colors: {
  custom: {
    50: '#e9fabf',
    500: '#def8a3',
    950: '#000000',
  },
}
SCSS
$custom: #def8a3;
$custom-light: #e9fabf;
$custom-dark: #000000;
JSON
{
  "hex": "#def8a3",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 163
  },
  "hsl": {
    "h": 78.353,
    "s": 85.859,
    "l": 80.588
  },
  "oklch": {
    "l": 0.94065,
    "c": 0.11179,
    "h": 122.4
  },
  "luminance": 0.85309
}

Semantic roles & 50–950 ramp

primary
#DEF8A3
secondary
#8966D9
accent
#03E247
background
#FEFFFD
surface
#FDFFF9
border
#D5D7D2
text
#161712
muted
#848582

Preview Lab

Preview with #DEF8A3

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

Preview Lab → · Contrast checker → · Palette generator →

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