#DEF18D#DEF18D

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

Color values

HEX#DEF18D
RGBrgb(222, 241, 141)
HSLhsl(71, 78%, 75%)
HSVhsv(71, 41%, 95%)
CMYKcmyk(7.9%, 0%, 41.5%, 5.5%)
CIE-LABlab(91.85, -21.23, 46.12)
CIE-LCHlch(91.85, 50.77, 114.72°)
OKLaboklab(92.23% -0.0589 0.1119)
OKLCHoklch(92.23% 0.126 117.8)
XYZxyz(66.3876, 80.3637, 37.2085)
Luminance0.8036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF18D #A08DF1
analogous
#F1D28D #DEF18D #ACF18D
triadic
#DEF18D #8DDEF1 #F18DDE
tetradic
#DEF18D #8DF1D2 #A08DF1 #F18DAC
square
#DEF18D #8DF1D2 #A08DF1 #F18DAC
split-complementary
#DEF18D #8DACF1 #D28DF1
monochromatic
#BEE420 #CEEA56 #DEF18D #EEF8C4 #F7FCE4

Accessibility & contrast

On white

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

On black

17.07
#DEF18D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF18D
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF18D#FFFFFF#000000##000000
##DEF18D1.001.2317.0717.07
#FFFFFF1.231.0021.0021.00
#00000017.0721.001.001.00
##00000017.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def18d;
/* rgb */ color: rgb(222, 241, 141);
/* oklch */ color: oklch(92.2% 0.126 117.8);
Tailwind
colors: {
  custom: {
    50: '#e9f5b0',
    500: '#def18d',
    950: '#000000',
  },
}
SCSS
$custom: #def18d;
$custom-light: #e9f5b0;
$custom-dark: #000000;
JSON
{
  "hex": "#def18d",
  "rgb": {
    "r": 222,
    "g": 241,
    "b": 141
  },
  "hsl": {
    "h": 71.4,
    "s": 78.125,
    "l": 74.902
  },
  "oklch": {
    "l": 0.92229,
    "c": 0.12646,
    "h": 117.8
  },
  "luminance": 0.80363
}

Semantic roles & 50–950 ramp

primary
#DEF18D
secondary
#6C55CD
accent
#0BDA32
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161710
muted
#848581

Preview Lab

Preview with #DEF18D

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

Preview Lab → · Contrast checker → · Palette generator →

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