#DEFC8A#DEFC8A

#DEFC8A is a very light, vivid yellow-green. Relative luminance 0.870; OKLCH L 94.5% C 0.144 H 121.3°. Best body text is #000000 at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#DEFC8A
RGBrgb(222, 252, 138)
HSLhsl(76, 95%, 76%)
HSVhsv(76, 45%, 99%)
CMYKcmyk(11.9%, 0%, 45.2%, 1.2%)
CIE-LABlab(94.73, -26.79, 51.14)
CIE-LCHlch(94.73, 57.73, 117.65°)
OKLaboklab(94.53% -0.0748 0.123)
OKLCHoklch(94.53% 0.144 121.3)
XYZxyz(69.5223, 86.9854, 37.1671)
Luminance0.8699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFC8A #A88AFC
analogous
#FCE18A #DEFC8A #A5FC8A
triadic
#DEFC8A #8ADEFC #FC8ADE
tetradic
#DEFC8A #8AFCE1 #A88AFC #FC8AA5
square
#DEFC8A #8AFCE1 #A88AFC #FC8AA5
split-complementary
#DEFC8A #8AA5FC #E18AFC
monochromatic
#BCF913 #CDFA4E #DEFC8A #EFFEC6 #F7FEE1

Accessibility & contrast

On white

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

On black

18.40
#DEFC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFC8A
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFC8A#FFFFFF#000000##000000
##DEFC8A1.001.1418.4018.40
#FFFFFF1.141.0021.0021.00
#00000018.4021.001.001.00
##00000018.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF081
Deuteranopia (green-blind)
#FFF090
Tritanopia (blue-blind)
#E7F2E1
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #defc8a;
/* rgb */ color: rgb(222, 252, 138);
/* oklch */ color: oklch(94.5% 0.144 121.3);
Tailwind
colors: {
  custom: {
    50: '#eafdae',
    500: '#defc8a',
    950: '#000000',
  },
}
SCSS
$custom: #defc8a;
$custom-light: #eafdae;
$custom-dark: #000000;
JSON
{
  "hex": "#defc8a",
  "rgb": {
    "r": 222,
    "g": 252,
    "b": 138
  },
  "hsl": {
    "h": 75.789,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.94525,
    "c": 0.14397,
    "h": 121.3
  },
  "luminance": 0.86985
}

Semantic roles & 50–950 ramp

primary
#DEFC8A
secondary
#744FDC
accent
#00E63C
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEFC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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