#DEFF8A#DEFF8A

#DEFF8A is a very light, vivid yellow-green. Relative luminance 0.889; OKLCH L 95.2% C 0.148 H 122.2°. Best body text is #000000 at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#DEFF8A
RGBrgb(222, 255, 138)
HSLhsl(77, 100%, 77%)
HSVhsv(77, 46%, 100%)
CMYKcmyk(12.9%, 0%, 45.9%, 0%)
CIE-LABlab(95.53, -28.20, 52.13)
CIE-LCHlch(95.53, 59.26, 118.41°)
OKLaboklab(95.17% -0.0788 0.1252)
OKLCHoklch(95.17% 0.148 122.2)
XYZxyz(70.4718, 88.8845, 37.4836)
Luminance0.8889 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFF8A #AB8AFF
analogous
#FFE68A #DEFF8A #A4FF8A
triadic
#DEFF8A #8ADEFF #FF8ADE
tetradic
#DEFF8A #8AFFE6 #AB8AFF #FF8AA4
square
#DEFF8A #8AFFE6 #AB8AFF #FF8AA4
split-complementary
#DEFF8A #8AA4FF #E68AFF
monochromatic
#BBFF10 #CDFF4D #DEFF8A #EFFFC7 #F6FFE0

Accessibility & contrast

On white

1.12
#DEFF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.78
#DEFF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFF8A
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFF8A#FFFFFF#000000##000000
##DEFF8A1.001.1218.7818.78
#FFFFFF1.121.0021.0021.00
#00000018.7821.001.001.00
##00000018.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF380
Deuteranopia (green-blind)
#FFF290
Tritanopia (blue-blind)
#E6F5E4
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #deff8a;
/* rgb */ color: rgb(222, 255, 138);
/* oklch */ color: oklch(95.2% 0.148 122.2);
Tailwind
colors: {
  custom: {
    50: '#eaffae',
    500: '#deff8a',
    950: '#000000',
  },
}
SCSS
$custom: #deff8a;
$custom-light: #eaffae;
$custom-dark: #000000;
JSON
{
  "hex": "#deff8a",
  "rgb": {
    "r": 222,
    "g": 255,
    "b": 138
  },
  "hsl": {
    "h": 76.923,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.95167,
    "c": 0.14792,
    "h": 122.2
  },
  "luminance": 0.88885
}

Semantic roles & 50–950 ramp

primary
#DEFF8A
secondary
#774EE0
accent
#00E641
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161810
muted
#858681

Preview Lab

Preview with #DEFF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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