#DEF5A3#DEF5A3

#DEF5A3 is a very light, moderate yellow-green. Relative luminance 0.835; OKLCH L 93.4% C 0.108 H 121.3°. Best body text is #000000 at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#DEF5A3
RGBrgb(222, 245, 163)
HSLhsl(77, 80%, 80%)
HSVhsv(77, 33%, 96%)
CMYKcmyk(9.4%, 0%, 33.5%, 3.9%)
CIE-LABlab(93.22, -20.58, 37.06)
CIE-LCHlch(93.22, 42.39, 119.05°)
OKLaboklab(93.43% -0.0558 0.092)
OKLCHoklch(93.43% 0.108 121.3)
XYZxyz(69.3871, 83.4788, 47.1008)
Luminance0.8348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF5A3 #BAA3F5
analogous
#F5E3A3 #DEF5A3 #B5F5A3
triadic
#DEF5A3 #A3DEF5 #F5A3DE
tetradic
#DEF5A3 #A3F5E3 #BAA3F5 #F5A3B5
square
#DEF5A3 #A3F5E3 #BAA3F5 #F5A3B5
split-complementary
#DEF5A3 #A3B5F5 #E3A3F5
monochromatic
#B6E935 #CAEF6C #DEF5A3 #F2FBDA #F5FCE3

Accessibility & contrast

On white

1.19
#DEF5A3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.70
#DEF5A3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF5A3
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF5A3#FFFFFF#000000##000000
##DEF5A31.001.1917.7017.70
#FFFFFF1.191.0021.0021.00
#00000017.7021.001.001.00
##00000017.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC9D
Deuteranopia (green-blind)
#FCECA7
Tritanopia (blue-blind)
#E5EDE0
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #def5a3;
/* rgb */ color: rgb(222, 245, 163);
/* oklch */ color: oklch(93.4% 0.108 121.3);
Tailwind
colors: {
  custom: {
    50: '#e9f8bf',
    500: '#def5a3',
    950: '#000000',
  },
}
SCSS
$custom: #def5a3;
$custom-light: #e9f8bf;
$custom-dark: #000000;
JSON
{
  "hex": "#def5a3",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 163
  },
  "hsl": {
    "h": 76.829,
    "s": 80.392,
    "l": 80
  },
  "oklch": {
    "l": 0.93432,
    "c": 0.10757,
    "h": 121.3
  },
  "luminance": 0.83479
}

Semantic roles & 50–950 ramp

primary
#DEF5A3
secondary
#8668D5
accent
#09DD44
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161712
muted
#848582

Preview Lab

Preview with #DEF5A3

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

Preview Lab → · Contrast checker → · Palette generator →

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