#DEF08D#DEF08D

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

Color values

HEX#DEF08D
RGBrgb(222, 240, 141)
HSLhsl(71, 77%, 75%)
HSVhsv(71, 41%, 94%)
CMYKcmyk(7.5%, 0%, 41.3%, 5.9%)
CIE-LABlab(91.58, -20.75, 45.78)
CIE-LCHlch(91.58, 50.27, 114.38°)
OKLaboklab(92.02% -0.0575 0.1112)
OKLCHoklch(92.02% 0.125 117.4)
XYZxyz(66.0924, 79.7734, 37.1101)
Luminance0.7977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF08D #9F8DF0
analogous
#F0D18D #DEF08D #ADF08D
triadic
#DEF08D #8DDEF0 #F08DDE
tetradic
#DEF08D #8DF0D1 #9F8DF0 #F08DAD
square
#DEF08D #8DF0D1 #9F8DF0 #F08DAD
split-complementary
#DEF08D #8DADF0 #D18DF0
monochromatic
#BFE221 #CEE957 #DEF08D #EEF7C3 #F7FBE4

Accessibility & contrast

On white

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

On black

16.95
#DEF08D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF08D
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF08D#FFFFFF#000000##000000
##DEF08D1.001.2416.9516.95
#FFFFFF1.241.0021.0021.00
#00000016.9521.001.001.00
##00000016.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def08d;
/* rgb */ color: rgb(222, 240, 141);
/* oklch */ color: oklch(92.0% 0.125 117.4);
Tailwind
colors: {
  custom: {
    50: '#e9f5b0',
    500: '#def08d',
    950: '#000000',
  },
}
SCSS
$custom: #def08d;
$custom-light: #e9f5b0;
$custom-dark: #000000;
JSON
{
  "hex": "#def08d",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 141
  },
  "hsl": {
    "h": 70.909,
    "s": 76.744,
    "l": 74.706
  },
  "oklch": {
    "l": 0.92018,
    "c": 0.12516,
    "h": 117.4
  },
  "luminance": 0.79773
}

Semantic roles & 50–950 ramp

primary
#DEF08D
secondary
#6B55CC
accent
#0DD932
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161710
muted
#848581

Preview Lab

Preview with #DEF08D

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

Preview Lab → · Contrast checker → · Palette generator →

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