#DEF76B#DEF76B

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

Color values

HEX#DEF76B
RGBrgb(222, 247, 107)
HSLhsl(71, 90%, 69%)
HSVhsv(71, 57%, 97%)
CMYKcmyk(10.1%, 0%, 56.7%, 3.1%)
CIE-LABlab(93.06, -27.25, 63.22)
CIE-LCHlch(93.06, 68.84, 113.32°)
OKLaboklab(93.08% -0.0788 0.1467)
OKLCHoklch(93.08% 0.167 118.2)
XYZxyz(66.0398, 83.1132, 26.4705)
Luminance0.8311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF76B #846BF7
analogous
#F7CA6B #DEF76B #98F76B
triadic
#DEF76B #6BDEF7 #F76BDE
tetradic
#DEF76B #6BF7CA #846BF7 #F76B98
square
#DEF76B #6BF7CA #846BF7 #F76B98
split-complementary
#DEF76B #6B98F7 #CA6BF7
monochromatic
#B7DC0C #D1F431 #DEF76B #EBFAA5 #F8FDDF

Accessibility & contrast

On white

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

On black

17.62
#DEF76B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF76B
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF76B#FFFFFF#000000##000000
##DEF76B1.001.1917.6217.62
#FFFFFF1.191.0021.0021.00
#00000017.6221.001.001.00
##00000017.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def76b;
/* rgb */ color: rgb(222, 247, 107);
/* oklch */ color: oklch(93.1% 0.167 118.2);
Tailwind
colors: {
  custom: {
    50: '#ebf99a',
    500: '#def76b',
    950: '#000000',
  },
}
SCSS
$custom: #def76b;
$custom-light: #ebf99a;
$custom-dark: #000000;
JSON
{
  "hex": "#def76b",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 107
  },
  "hsl": {
    "h": 70.714,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.9308,
    "c": 0.16653,
    "h": 118.2
  },
  "luminance": 0.83113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEF76B

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

Preview Lab → · Contrast checker → · Palette generator →

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