#DEF681#DEF681

#DEF681 is a very light, vivid yellow-green. Relative luminance 0.830; OKLCH L 93.1% C 0.145 H 118.9°. Best body text is #000000 at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#DEF681
RGBrgb(222, 246, 129)
HSLhsl(72, 87%, 74%)
HSVhsv(72, 48%, 96%)
CMYKcmyk(9.8%, 0%, 47.6%, 3.5%)
CIE-LABlab(93.03, -24.86, 53.28)
CIE-LCHlch(93.03, 58.80, 115.01°)
OKLaboklab(93.12% -0.0701 0.1271)
OKLCHoklch(93.12% 0.145 118.9)
XYZxyz(67.0430, 83.0265, 33.2584)
Luminance0.8303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF681 #9981F6
analogous
#F6D481 #DEF681 #A3F681
triadic
#DEF681 #81DEF6 #F681DE
tetradic
#DEF681 #81F6D4 #9981F6 #F681A3
square
#DEF681 #81F6D4 #9981F6 #F681A3
split-complementary
#DEF681 #81A3F6 #D481F6
monochromatic
#BFEC11 #CFF248 #DEF681 #EDFABA #F8FDE2

Accessibility & contrast

On white

1.19
#DEF681 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.61
#DEF681 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF681
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF681#FFFFFF#000000##000000
##DEF6811.001.1917.6117.61
#FFFFFF1.191.0021.0021.00
#00000017.6121.001.001.00
##00000017.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB77
Deuteranopia (green-blind)
#FFEB87
Tritanopia (blue-blind)
#E8EBDB
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #def681;
/* rgb */ color: rgb(222, 246, 129);
/* oklch */ color: oklch(93.1% 0.145 118.9);
Tailwind
colors: {
  custom: {
    50: '#eaf9a8',
    500: '#def681',
    950: '#000000',
  },
}
SCSS
$custom: #def681;
$custom-light: #eaf9a8;
$custom-dark: #000000;
JSON
{
  "hex": "#def681",
  "rgb": {
    "r": 222,
    "g": 246,
    "b": 129
  },
  "hsl": {
    "h": 72.308,
    "s": 86.667,
    "l": 73.529
  },
  "oklch": {
    "l": 0.93123,
    "c": 0.14518,
    "h": 118.9
  },
  "luminance": 0.83026
}

Semantic roles & 50–950 ramp

primary
#DEF681
secondary
#6549D2
accent
#02E330
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF681

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

Preview Lab → · Contrast checker → · Palette generator →

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