#DEFE8A#DEFE8A

#DEFE8A is a very light, vivid yellow-green. Relative luminance 0.882; OKLCH L 95.0% C 0.147 H 121.9°. Best body text is #000000 at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#DEFE8A
RGBrgb(222, 254, 138)
HSLhsl(77, 98%, 77%)
HSVhsv(77, 46%, 100%)
CMYKcmyk(12.6%, 0%, 45.7%, 0.4%)
CIE-LABlab(95.27, -27.73, 51.80)
CIE-LCHlch(95.27, 58.75, 118.16°)
OKLaboklab(94.95% -0.0775 0.1245)
OKLCHoklch(94.95% 0.147 121.9)
XYZxyz(70.1536, 88.2481, 37.3776)
Luminance0.8825 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFE8A #AA8AFE
analogous
#FEE48A #DEFE8A #A4FE8A
triadic
#DEFE8A #8ADEFE #FE8ADE
tetradic
#DEFE8A #8AFEE4 #AA8AFE #FE8AA4
square
#DEFE8A #8AFEE4 #AA8AFE #FE8AA4
split-complementary
#DEFE8A #8AA4FE #E48AFE
monochromatic
#BCFD11 #CDFD4D #DEFE8A #EFFFC7 #F6FFE1

Accessibility & contrast

On white

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

On black

18.65
#DEFE8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFE8A
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFE8A#FFFFFF#000000##000000
##DEFE8A1.001.1318.6518.65
#FFFFFF1.131.0021.0021.00
#00000018.6521.001.001.00
##00000018.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF280
Deuteranopia (green-blind)
#FFF190
Tritanopia (blue-blind)
#E7F4E3
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #defe8a;
/* rgb */ color: rgb(222, 254, 138);
/* oklch */ color: oklch(95.0% 0.147 121.9);
Tailwind
colors: {
  custom: {
    50: '#eafeae',
    500: '#defe8a',
    950: '#000000',
  },
}
SCSS
$custom: #defe8a;
$custom-light: #eafeae;
$custom-dark: #000000;
JSON
{
  "hex": "#defe8a",
  "rgb": {
    "r": 222,
    "g": 254,
    "b": 138
  },
  "hsl": {
    "h": 76.552,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.94953,
    "c": 0.1466,
    "h": 121.9
  },
  "luminance": 0.88248
}

Semantic roles & 50–950 ramp

primary
#DEFE8A
secondary
#764EDE
accent
#00E63F
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEFE8A

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

Preview Lab → · Contrast checker → · Palette generator →

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