#DEF76C#DEF76C

#DEF76C is a very light, vivid yellow-green. Relative luminance 0.831; OKLCH L 93.1% C 0.166 H 118.3°. Best body text is #000000 at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#DEF76C
RGBrgb(222, 247, 108)
HSLhsl(71, 90%, 70%)
HSVhsv(71, 56%, 97%)
CMYKcmyk(10.1%, 0%, 56.3%, 3.1%)
CIE-LABlab(93.07, -27.17, 62.80)
CIE-LCHlch(93.07, 68.42, 113.40°)
OKLaboklab(93.09% -0.0785 0.1459)
OKLCHoklch(93.09% 0.166 118.3)
XYZxyz(66.0927, 83.1343, 26.7492)
Luminance0.8313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF76C #856CF7
analogous
#F7CA6C #DEF76C #99F76C
triadic
#DEF76C #6CDEF7 #F76CDE
tetradic
#DEF76C #6CF7CA #856CF7 #F76C99
square
#DEF76C #6CF7CA #856CF7 #F76C99
split-complementary
#DEF76C #6C99F7 #CA6CF7
monochromatic
#B7DD0C #D1F432 #DEF76C #EBFAA6 #F8FDE0

Accessibility & contrast

On white

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

On black

17.63
#DEF76C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF76C
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF76C#FFFFFF#000000##000000
##DEF76C1.001.1917.6317.63
#FFFFFF1.191.0021.0021.00
#00000017.6321.001.001.00
##00000017.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB5D
Deuteranopia (green-blind)
#FFEC75
Tritanopia (blue-blind)
#EAEBD9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #def76c;
/* rgb */ color: rgb(222, 247, 108);
/* oklch */ color: oklch(93.1% 0.166 118.3);
Tailwind
colors: {
  custom: {
    50: '#ebf99a',
    500: '#def76c',
    950: '#000000',
  },
}
SCSS
$custom: #def76c;
$custom-light: #ebf99a;
$custom-dark: #000000;
JSON
{
  "hex": "#def76c",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 108
  },
  "hsl": {
    "h": 70.791,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.9309,
    "c": 0.16569,
    "h": 118.3
  },
  "luminance": 0.83134
}

Semantic roles & 50–950 ramp

primary
#DEF76C
secondary
#5236D1
accent
#00E629
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DEF76C

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

Preview Lab → · Contrast checker → · Palette generator →

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