#DEF18E#DEF18E

#DEF18E is a very light, vivid yellow-green. Relative luminance 0.804; OKLCH L 92.2% C 0.125 H 117.8°. Best body text is #000000 at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#DEF18E
RGBrgb(222, 241, 142)
HSLhsl(72, 78%, 75%)
HSVhsv(72, 41%, 95%)
CMYKcmyk(7.9%, 0%, 41.1%, 5.5%)
CIE-LABlab(91.86, -21.12, 45.65)
CIE-LCHlch(91.86, 50.30, 114.83°)
OKLaboklab(92.24% -0.0585 0.1109)
OKLCHoklch(92.24% 0.125 117.8)
XYZxyz(66.4623, 80.3936, 37.6022)
Luminance0.8039 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF18E #A18EF1
analogous
#F1D28E #DEF18E #ADF18E
triadic
#DEF18E #8EDEF1 #F18EDE
tetradic
#DEF18E #8EF1D2 #A18EF1 #F18EAD
square
#DEF18E #8EF1D2 #A18EF1 #F18EAD
split-complementary
#DEF18E #8EADF1 #D28EF1
monochromatic
#BEE421 #CEEA58 #DEF18E #EEF8C4 #F7FCE4

Accessibility & contrast

On white

1.23
#DEF18E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.08
#DEF18E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF18E
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF18E#FFFFFF#000000##000000
##DEF18E1.001.2317.0817.08
#FFFFFF1.231.0021.0021.00
#00000017.0821.001.001.00
##00000017.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE786
Deuteranopia (green-blind)
#FBE893
Tritanopia (blue-blind)
#E7E7D9
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #def18e;
/* rgb */ color: rgb(222, 241, 142);
/* oklch */ color: oklch(92.2% 0.125 117.8);
Tailwind
colors: {
  custom: {
    50: '#e9f5b0',
    500: '#def18e',
    950: '#000000',
  },
}
SCSS
$custom: #def18e;
$custom-light: #e9f5b0;
$custom-dark: #000000;
JSON
{
  "hex": "#def18e",
  "rgb": {
    "r": 222,
    "g": 241,
    "b": 142
  },
  "hsl": {
    "h": 71.515,
    "s": 77.953,
    "l": 75.098
  },
  "oklch": {
    "l": 0.92244,
    "c": 0.12539,
    "h": 117.8
  },
  "luminance": 0.80393
}

Semantic roles & 50–950 ramp

primary
#DEF18E
secondary
#6D56CD
accent
#0BDA33
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161711
muted
#848581

Preview Lab

Preview with #DEF18E

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

Preview Lab → · Contrast checker → · Palette generator →

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