#DEF381#DEF381

#DEF381 is a very light, vivid yellow-green. Relative luminance 0.812; OKLCH L 92.5% C 0.141 H 117.8°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#DEF381
RGBrgb(222, 243, 129)
HSLhsl(71, 83%, 73%)
HSVhsv(71, 47%, 95%)
CMYKcmyk(8.6%, 0%, 46.9%, 4.7%)
CIE-LABlab(92.23, -23.43, 52.32)
CIE-LCHlch(92.23, 57.32, 114.12°)
OKLaboklab(92.48% -0.066 0.125)
OKLCHoklch(92.48% 0.141 117.8)
XYZxyz(66.1378, 81.2163, 32.9567)
Luminance0.8122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF381 #9681F3
analogous
#F3CF81 #DEF381 #A5F381
triadic
#DEF381 #81DEF3 #F381DE
tetradic
#DEF381 #81F3CF #9681F3 #F381A5
square
#DEF381 #81F3CF #9681F3 #F381A5
split-complementary
#DEF381 #81A5F3 #CF81F3
monochromatic
#BEE416 #CFEE49 #DEF381 #EDF8B9 #F8FCE3

Accessibility & contrast

On white

1.22
#DEF381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.24
#DEF381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF381
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF381#FFFFFF#000000##000000
##DEF3811.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE877
Deuteranopia (green-blind)
#FEE987
Tritanopia (blue-blind)
#E8E8D8
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def381;
/* rgb */ color: rgb(222, 243, 129);
/* oklch */ color: oklch(92.5% 0.141 117.8);
Tailwind
colors: {
  custom: {
    50: '#eaf7a8',
    500: '#def381',
    950: '#000000',
  },
}
SCSS
$custom: #def381;
$custom-light: #eaf7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#def381",
  "rgb": {
    "r": 222,
    "g": 243,
    "b": 129
  },
  "hsl": {
    "h": 71.053,
    "s": 82.609,
    "l": 72.941
  },
  "oklch": {
    "l": 0.92484,
    "c": 0.14138,
    "h": 117.8
  },
  "luminance": 0.81216
}

Semantic roles & 50–950 ramp

primary
#DEF381
secondary
#624ACF
accent
#06DF2E
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF381

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

Preview Lab → · Contrast checker → · Palette generator →

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