#DEFD8D#DEFD8D

#DEFD8D is a very light, vivid yellow-green. Relative luminance 0.877; OKLCH L 94.8% C 0.142 H 121.8°. Best body text is #000000 at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#DEFD8D
RGBrgb(222, 253, 141)
HSLhsl(77, 97%, 77%)
HSVhsv(77, 44%, 99%)
CMYKcmyk(12.3%, 0%, 44.3%, 0.8%)
CIE-LABlab(95.04, -26.95, 50.10)
CIE-LCHlch(95.04, 56.89, 118.27°)
OKLaboklab(94.78% -0.075 0.1209)
OKLCHoklch(94.78% 0.142 121.8)
XYZxyz(70.0573, 87.7032, 38.4318)
Luminance0.8770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFD8D #AC8DFD
analogous
#FDE48D #DEFD8D #A6FD8D
triadic
#DEFD8D #8DDEFD #FD8DDE
tetradic
#DEFD8D #8DFDE4 #AC8DFD #FD8DA6
square
#DEFD8D #8DFDE4 #AC8DFD #FD8DA6
split-complementary
#DEFD8D #8DA6FD #E48DFD
monochromatic
#BBFB15 #CDFC51 #DEFD8D #EFFEC9 #F6FEE1

Accessibility & contrast

On white

1.13
#DEFD8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.54
#DEFD8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFD8D
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFD8D#FFFFFF#000000##000000
##DEFD8D1.001.1318.5418.54
#FFFFFF1.131.0021.0021.00
#00000018.5421.001.001.00
##00000018.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF184
Deuteranopia (green-blind)
#FFF193
Tritanopia (blue-blind)
#E6F3E2
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #defd8d;
/* rgb */ color: rgb(222, 253, 141);
/* oklch */ color: oklch(94.8% 0.142 121.8);
Tailwind
colors: {
  custom: {
    50: '#eafeb0',
    500: '#defd8d',
    950: '#000000',
  },
}
SCSS
$custom: #defd8d;
$custom-light: #eafeb0;
$custom-dark: #000000;
JSON
{
  "hex": "#defd8d",
  "rgb": {
    "r": 222,
    "g": 253,
    "b": 141
  },
  "hsl": {
    "h": 76.607,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.94781,
    "c": 0.14225,
    "h": 121.8
  },
  "luminance": 0.87703
}

Semantic roles & 50–950 ramp

primary
#DEFD8D
secondary
#7851DD
accent
#00E640
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161711
muted
#858581

Preview Lab

Preview with #DEFD8D

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

Preview Lab → · Contrast checker → · Palette generator →

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