#DEF976#DEF976

#DEF976 is a very light, vivid yellow-green. Relative luminance 0.846; OKLCH L 93.6% C 0.159 H 119.3°. Best body text is #000000 at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#DEF976
RGBrgb(222, 249, 118)
HSLhsl(72, 92%, 72%)
HSVhsv(72, 53%, 98%)
CMYKcmyk(10.8%, 0%, 52.6%, 2.4%)
CIE-LABlab(93.71, -27.28, 59.12)
CIE-LCHlch(93.71, 65.11, 114.77°)
OKLaboklab(93.63% -0.0779 0.139)
OKLCHoklch(93.63% 0.159 119.3)
XYZxyz(67.2706, 84.5893, 29.9195)
Luminance0.8459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF976 #9176F9
analogous
#F9D276 #DEF976 #9DF976
triadic
#DEF976 #76DEF9 #F976DE
tetradic
#DEF976 #76F9D2 #9176F9 #F9769D
square
#DEF976 #76F9D2 #9176F9 #F9769D
split-complementary
#DEF976 #769DF9 #D276F9
monochromatic
#BCEA0A #D0F63B #DEF976 #ECFCB1 #F8FEE2

Accessibility & contrast

On white

1.17
#DEF976 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.92
#DEF976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF976
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF976#FFFFFF#000000##000000
##DEF9761.001.1717.9217.92
#FFFFFF1.171.0021.0021.00
#00000017.9221.001.001.00
##00000017.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED69
Deuteranopia (green-blind)
#FFED7E
Tritanopia (blue-blind)
#E9EEDC
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #def976;
/* rgb */ color: rgb(222, 249, 118);
/* oklch */ color: oklch(93.6% 0.159 119.3);
Tailwind
colors: {
  custom: {
    50: '#eafba1',
    500: '#def976',
    950: '#000000',
  },
}
SCSS
$custom: #def976;
$custom-light: #eafba1;
$custom-dark: #000000;
JSON
{
  "hex": "#def976",
  "rgb": {
    "r": 222,
    "g": 249,
    "b": 118
  },
  "hsl": {
    "h": 72.366,
    "s": 91.608,
    "l": 71.961
  },
  "oklch": {
    "l": 0.93629,
    "c": 0.15933,
    "h": 119.3
  },
  "luminance": 0.84589
}

Semantic roles & 50–950 ramp

primary
#DEF976
secondary
#5D3ED5
accent
#00E62F
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF976

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

Preview Lab → · Contrast checker → · Palette generator →

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