#DEF181#DEF181

#DEF181 is a very light, vivid yellow-green. Relative luminance 0.800; OKLCH L 92.1% C 0.139 H 117.1°. Best body text is #000000 at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#DEF181
RGBrgb(222, 241, 129)
HSLhsl(70, 80%, 73%)
HSVhsv(70, 46%, 95%)
CMYKcmyk(7.9%, 0%, 46.5%, 5.5%)
CIE-LABlab(91.70, -22.47, 51.67)
CIE-LCHlch(91.70, 56.34, 113.50°)
OKLaboklab(92.06% -0.0633 0.1236)
OKLCHoklch(92.06% 0.139 117.1)
XYZxyz(65.5426, 80.0257, 32.7583)
Luminance0.8003 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF181 #9481F1
analogous
#F1CC81 #DEF181 #A6F181
triadic
#DEF181 #81DEF1 #F181DE
tetradic
#DEF181 #81F1CC #9481F1 #F181A6
square
#DEF181 #81F1CC #9481F1 #F181A6
split-complementary
#DEF181 #81A6F1 #CC81F1
monochromatic
#BDDF19 #D0EB4A #DEF181 #ECF7B8 #F8FCE3

Accessibility & contrast

On white

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

On black

17.01
#DEF181 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF181
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF181#FFFFFF#000000##000000
##DEF1811.001.2317.0117.01
#FFFFFF1.231.0021.0021.00
#00000017.0121.001.001.00
##00000017.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE777
Deuteranopia (green-blind)
#FCE887
Tritanopia (blue-blind)
#E8E6D7
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def181;
/* rgb */ color: rgb(222, 241, 129);
/* oklch */ color: oklch(92.1% 0.139 117.1);
Tailwind
colors: {
  custom: {
    50: '#eaf5a8',
    500: '#def181',
    950: '#000000',
  },
}
SCSS
$custom: #def181;
$custom-light: #eaf5a8;
$custom-dark: #000000;
JSON
{
  "hex": "#def181",
  "rgb": {
    "r": 222,
    "g": 241,
    "b": 129
  },
  "hsl": {
    "h": 70.179,
    "s": 80,
    "l": 72.549
  },
  "oklch": {
    "l": 0.92059,
    "c": 0.13886,
    "h": 117.1
  },
  "luminance": 0.80025
}

Semantic roles & 50–950 ramp

primary
#DEF181
secondary
#604ACC
accent
#09DC2D
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF181

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

Preview Lab → · Contrast checker → · Palette generator →

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