#DEF08F#DEF08F

#DEF08F is a very light, vivid yellow-green. Relative luminance 0.798; OKLCH L 92.0% C 0.123 H 117.5°. Best body text is #000000 at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#DEF08F
RGBrgb(222, 240, 143)
HSLhsl(71, 76%, 75%)
HSVhsv(71, 40%, 94%)
CMYKcmyk(7.5%, 0%, 40.4%, 5.9%)
CIE-LABlab(91.61, -20.53, 44.85)
CIE-LCHlch(91.61, 49.32, 114.60°)
OKLaboklab(92.05% -0.0568 0.1091)
OKLCHoklch(92.05% 0.123 117.5)
XYZxyz(66.2425, 79.8334, 37.9010)
Luminance0.7983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF08F #A18FF0
analogous
#F0D18F #DEF08F #ADF08F
triadic
#DEF08F #8FDEF0 #F08FDE
tetradic
#DEF08F #8FF0D1 #A18FF0 #F08FAD
square
#DEF08F #8FF0D1 #A18FF0 #F08FAD
split-complementary
#DEF08F #8FADF0 #D18FF0
monochromatic
#BEE223 #CEE959 #DEF08F #EEF7C5 #F7FBE4

Accessibility & contrast

On white

1.24
#DEF08F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.97
#DEF08F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF08F
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF08F#FFFFFF#000000##000000
##DEF08F1.001.2416.9716.97
#FFFFFF1.241.0021.0021.00
#00000016.9721.001.001.00
##00000016.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE787
Deuteranopia (green-blind)
#FAE894
Tritanopia (blue-blind)
#E7E6D8
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def08f;
/* rgb */ color: rgb(222, 240, 143);
/* oklch */ color: oklch(92.0% 0.123 117.5);
Tailwind
colors: {
  custom: {
    50: '#e9f5b1',
    500: '#def08f',
    950: '#000000',
  },
}
SCSS
$custom: #def08f;
$custom-light: #e9f5b1;
$custom-dark: #000000;
JSON
{
  "hex": "#def08f",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 143
  },
  "hsl": {
    "h": 71.134,
    "s": 76.378,
    "l": 75.098
  },
  "oklch": {
    "l": 0.92048,
    "c": 0.12301,
    "h": 117.5
  },
  "luminance": 0.79833
}

Semantic roles & 50–950 ramp

primary
#DEF08F
secondary
#6D57CC
accent
#0DD933
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161711
muted
#848581

Preview Lab

Preview with #DEF08F

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

Preview Lab → · Contrast checker → · Palette generator →

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