#DEFC8D#DEFC8D

#DEFC8D is a very light, vivid yellow-green. Relative luminance 0.871; OKLCH L 94.6% C 0.141 H 121.5°. Best body text is #000000 at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#DEFC8D
RGBrgb(222, 252, 141)
HSLhsl(76, 95%, 77%)
HSVhsv(76, 44%, 99%)
CMYKcmyk(11.9%, 0%, 44%, 1.2%)
CIE-LABlab(94.77, -26.48, 49.77)
CIE-LCHlch(94.77, 56.37, 118.01°)
OKLaboklab(94.57% -0.0737 0.1201)
OKLCHoklch(94.57% 0.141 121.5)
XYZxyz(69.7425, 87.0735, 38.3268)
Luminance0.8707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFC8D #AB8DFC
analogous
#FCE28D #DEFC8D #A7FC8D
triadic
#DEFC8D #8DDEFC #FC8DDE
tetradic
#DEFC8D #8DFCE2 #AB8DFC #FC8DA7
square
#DEFC8D #8DFCE2 #AB8DFC #FC8DA7
split-complementary
#DEFC8D #8DA7FC #E28DFC
monochromatic
#BBF916 #CDFA51 #DEFC8D #EFFEC9 #F6FEE1

Accessibility & contrast

On white

1.14
#DEFC8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.41
#DEFC8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFC8D
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFC8D#FFFFFF#000000##000000
##DEFC8D1.001.1418.4118.41
#FFFFFF1.141.0021.0021.00
#00000018.4121.001.001.00
##00000018.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF084
Deuteranopia (green-blind)
#FFF093
Tritanopia (blue-blind)
#E6F2E2
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #defc8d;
/* rgb */ color: rgb(222, 252, 141);
/* oklch */ color: oklch(94.6% 0.141 121.5);
Tailwind
colors: {
  custom: {
    50: '#eafdb0',
    500: '#defc8d',
    950: '#000000',
  },
}
SCSS
$custom: #defc8d;
$custom-light: #eafdb0;
$custom-dark: #000000;
JSON
{
  "hex": "#defc8d",
  "rgb": {
    "r": 222,
    "g": 252,
    "b": 141
  },
  "hsl": {
    "h": 76.216,
    "s": 94.872,
    "l": 77.059
  },
  "oklch": {
    "l": 0.94567,
    "c": 0.14093,
    "h": 121.5
  },
  "luminance": 0.87073
}

Semantic roles & 50–950 ramp

primary
#DEFC8D
secondary
#7751DC
accent
#00E63E
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161711
muted
#858581

Preview Lab

Preview with #DEFC8D

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

Preview Lab → · Contrast checker → · Palette generator →

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