#DEF08E#DEF08E

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

Color values

HEX#DEF08E
RGBrgb(222, 240, 142)
HSLhsl(71, 77%, 75%)
HSVhsv(71, 41%, 94%)
CMYKcmyk(7.5%, 0%, 40.8%, 5.9%)
CIE-LABlab(91.60, -20.64, 45.32)
CIE-LCHlch(91.60, 49.80, 114.49°)
OKLaboklab(92.03% -0.0571 0.1102)
OKLCHoklch(92.03% 0.124 117.4)
XYZxyz(66.1671, 79.8032, 37.5038)
Luminance0.7980 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF08E #A08EF0
analogous
#F0D18E #DEF08E #ADF08E
triadic
#DEF08E #8EDEF0 #F08EDE
tetradic
#DEF08E #8EF0D1 #A08EF0 #F08EAD
square
#DEF08E #8EF0D1 #A08EF0 #F08EAD
split-complementary
#DEF08E #8EADF0 #D18EF0
monochromatic
#BEE222 #CEE958 #DEF08E #EEF7C4 #F7FBE4

Accessibility & contrast

On white

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

On black

16.96
#DEF08E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF08E
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF08E#FFFFFF#000000##000000
##DEF08E1.001.2416.9616.96
#FFFFFF1.241.0021.0021.00
#00000016.9621.001.001.00
##00000016.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def08e;
/* rgb */ color: rgb(222, 240, 142);
/* oklch */ color: oklch(92.0% 0.124 117.4);
Tailwind
colors: {
  custom: {
    50: '#e9f5b0',
    500: '#def08e',
    950: '#000000',
  },
}
SCSS
$custom: #def08e;
$custom-light: #e9f5b0;
$custom-dark: #000000;
JSON
{
  "hex": "#def08e",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 142
  },
  "hsl": {
    "h": 71.02,
    "s": 76.563,
    "l": 74.902
  },
  "oklch": {
    "l": 0.92033,
    "c": 0.12409,
    "h": 117.4
  },
  "luminance": 0.79803
}

Semantic roles & 50–950 ramp

primary
#DEF08E
secondary
#6C56CC
accent
#0DD932
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161711
muted
#848581

Preview Lab

Preview with #DEF08E

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

Preview Lab → · Contrast checker → · Palette generator →

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