#DEF08B#DEF08B

#DEF08B is a very light, vivid yellow-green. Relative luminance 0.797; OKLCH L 92.0% C 0.127 H 117.2°. Best body text is #000000 at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#DEF08B
RGBrgb(222, 240, 139)
HSLhsl(71, 77%, 74%)
HSVhsv(71, 42%, 94%)
CMYKcmyk(7.5%, 0%, 42.1%, 5.9%)
CIE-LABlab(91.56, -20.97, 46.72)
CIE-LCHlch(91.56, 51.21, 114.17°)
OKLaboklab(91.99% -0.0583 0.1132)
OKLCHoklch(91.99% 0.127 117.2)
XYZxyz(65.9449, 79.7144, 36.3335)
Luminance0.7971 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF08B #9D8BF0
analogous
#F0D08B #DEF08B #ACF08B
triadic
#DEF08B #8BDEF0 #F08BDE
tetradic
#DEF08B #8BF0D0 #9D8BF0 #F08BAC
square
#DEF08B #8BF0D0 #9D8BF0 #F08BAC
split-complementary
#DEF08B #8BACF0 #D08BF0
monochromatic
#BFE21F #CFE955 #DEF08B #EDF7C1 #F7FBE4

Accessibility & contrast

On white

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

On black

16.94
#DEF08B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF08B
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF08B#FFFFFF#000000##000000
##DEF08B1.001.2416.9416.94
#FFFFFF1.241.0021.0021.00
#00000016.9421.001.001.00
##00000016.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE683
Deuteranopia (green-blind)
#FAE790
Tritanopia (blue-blind)
#E8E6D8
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def08b;
/* rgb */ color: rgb(222, 240, 139);
/* oklch */ color: oklch(92.0% 0.127 117.2);
Tailwind
colors: {
  custom: {
    50: '#eaf5ae',
    500: '#def08b',
    950: '#000000',
  },
}
SCSS
$custom: #def08b;
$custom-light: #eaf5ae;
$custom-dark: #000000;
JSON
{
  "hex": "#def08b",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 139
  },
  "hsl": {
    "h": 70.693,
    "s": 77.099,
    "l": 74.314
  },
  "oklch": {
    "l": 0.91988,
    "c": 0.12729,
    "h": 117.2
  },
  "luminance": 0.79714
}

Semantic roles & 50–950 ramp

primary
#DEF08B
secondary
#6953CC
accent
#0CD931
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161710
muted
#848581

Preview Lab

Preview with #DEF08B

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

Preview Lab → · Contrast checker → · Palette generator →

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