#DEFC8F#DEFC8F

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

Color values

HEX#DEFC8F
RGBrgb(222, 252, 143)
HSLhsl(77, 95%, 77%)
HSVhsv(77, 43%, 99%)
CMYKcmyk(11.9%, 0%, 43.3%, 1.2%)
CIE-LABlab(94.79, -26.26, 48.85)
CIE-LCHlch(94.79, 55.46, 118.26°)
OKLaboklab(94.6% -0.073 0.1182)
OKLCHoklch(94.6% 0.139 121.7)
XYZxyz(69.8926, 87.1336, 39.1177)
Luminance0.8713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFC8F #AD8FFC
analogous
#FCE48F #DEFC8F #A7FC8F
triadic
#DEFC8F #8FDEFC #FC8FDE
tetradic
#DEFC8F #8FFCE4 #AD8FFC #FC8FA7
square
#DEFC8F #8FFCE4 #AD8FFC #FC8FA7
split-complementary
#DEFC8F #8FA7FC #E48FFC
monochromatic
#BBF918 #CCFA53 #DEFC8F #F0FECB #F6FEE1

Accessibility & contrast

On white

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

On black

18.43
#DEFC8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFC8F
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFC8F#FFFFFF#000000##000000
##DEFC8F1.001.1418.4318.43
#FFFFFF1.141.0021.0021.00
#00000018.4321.001.001.00
##00000018.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #defc8f;
/* rgb */ color: rgb(222, 252, 143);
/* oklch */ color: oklch(94.6% 0.139 121.7);
Tailwind
colors: {
  custom: {
    50: '#eafdb1',
    500: '#defc8f',
    950: '#000000',
  },
}
SCSS
$custom: #defc8f;
$custom-light: #eafdb1;
$custom-dark: #000000;
JSON
{
  "hex": "#defc8f",
  "rgb": {
    "r": 222,
    "g": 252,
    "b": 143
  },
  "hsl": {
    "h": 76.514,
    "s": 94.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.94596,
    "c": 0.13888,
    "h": 121.7
  },
  "luminance": 0.87134
}

Semantic roles & 50–950 ramp

primary
#DEFC8F
secondary
#7953DC
accent
#00E63F
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DEFC8F

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

Preview Lab → · Contrast checker → · Palette generator →

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