#DEF18B#DEF18B

#DEF18B is a very light, vivid yellow-green. Relative luminance 0.803; OKLCH L 92.2% C 0.129 H 117.6°. Best body text is #000000 at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#DEF18B
RGBrgb(222, 241, 139)
HSLhsl(71, 78%, 75%)
HSVhsv(71, 42%, 95%)
CMYKcmyk(7.9%, 0%, 42.3%, 5.5%)
CIE-LABlab(91.82, -21.45, 47.05)
CIE-LCHlch(91.82, 51.71, 114.50°)
OKLaboklab(92.2% -0.0596 0.1139)
OKLCHoklch(92.2% 0.129 117.6)
XYZxyz(66.2401, 80.3047, 36.4319)
Luminance0.8030 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF18B #9E8BF1
analogous
#F1D18B #DEF18B #ABF18B
triadic
#DEF18B #8BDEF1 #F18BDE
tetradic
#DEF18B #8BF1D1 #9E8BF1 #F18BAB
square
#DEF18B #8BF1D1 #9E8BF1 #F18BAB
split-complementary
#DEF18B #8BABF1 #D18BF1
monochromatic
#BFE41E #CEEA54 #DEF18B #EEF8C2 #F7FCE4

Accessibility & contrast

On white

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

On black

17.06
#DEF18B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF18B
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF18B#FFFFFF#000000##000000
##DEF18B1.001.2317.0617.06
#FFFFFF1.231.0021.0021.00
#00000017.0621.001.001.00
##00000017.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE783
Deuteranopia (green-blind)
#FBE890
Tritanopia (blue-blind)
#E8E7D8
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #def18b;
/* rgb */ color: rgb(222, 241, 139);
/* oklch */ color: oklch(92.2% 0.129 117.6);
Tailwind
colors: {
  custom: {
    50: '#eaf5ae',
    500: '#def18b',
    950: '#000000',
  },
}
SCSS
$custom: #def18b;
$custom-light: #eaf5ae;
$custom-dark: #000000;
JSON
{
  "hex": "#def18b",
  "rgb": {
    "r": 222,
    "g": 241,
    "b": 139
  },
  "hsl": {
    "h": 71.176,
    "s": 78.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.92199,
    "c": 0.12858,
    "h": 117.6
  },
  "luminance": 0.80304
}

Semantic roles & 50–950 ramp

primary
#DEF18B
secondary
#6A53CD
accent
#0BDB32
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161710
muted
#848581

Preview Lab

Preview with #DEF18B

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

Preview Lab → · Contrast checker → · Palette generator →

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