#DEFE76#DEFE76

#DEFE76 is a very light, vivid yellow-green. Relative luminance 0.877; OKLCH L 94.7% C 0.166 H 120.7°. Best body text is #000000 at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#DEFE76
RGBrgb(222, 254, 118)
HSLhsl(74, 99%, 73%)
HSVhsv(74, 54%, 100%)
CMYKcmyk(12.6%, 0%, 53.5%, 0.4%)
CIE-LABlab(95.04, -29.62, 60.68)
CIE-LCHlch(95.04, 67.52, 116.02°)
OKLaboklab(94.7% -0.0844 0.1424)
OKLCHoklch(94.7% 0.166 120.7)
XYZxyz(68.8366, 87.7214, 30.4415)
Luminance0.8772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFE76 #9676FE
analogous
#FEDA76 #DEFE76 #9AFE76
triadic
#DEFE76 #76DEFE #FE76DE
tetradic
#DEFE76 #76FEDA #9676FE #FE769A
square
#DEFE76 #76FEDA #9676FE #FE769A
split-complementary
#DEFE76 #769AFE #DA76FE
monochromatic
#BEF802 #CFFE39 #DEFE76 #EDFEB3 #F8FFE1

Accessibility & contrast

On white

1.13
#DEFE76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.54
#DEFE76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFE76
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFE76#FFFFFF#000000##000000
##DEFE761.001.1318.5418.54
#FFFFFF1.131.0021.0021.00
#00000018.5421.001.001.00
##00000018.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF169
Deuteranopia (green-blind)
#FFF17E
Tritanopia (blue-blind)
#E8F2E0
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #defe76;
/* rgb */ color: rgb(222, 254, 118);
/* oklch */ color: oklch(94.7% 0.166 120.7);
Tailwind
colors: {
  custom: {
    50: '#ebfea1',
    500: '#defe76',
    950: '#000000',
  },
}
SCSS
$custom: #defe76;
$custom-light: #ebfea1;
$custom-dark: #000000;
JSON
{
  "hex": "#defe76",
  "rgb": {
    "r": 222,
    "g": 254,
    "b": 118
  },
  "hsl": {
    "h": 74.118,
    "s": 98.551,
    "l": 72.941
  },
  "oklch": {
    "l": 0.94703,
    "c": 0.16552,
    "h": 120.7
  },
  "luminance": 0.87721
}

Semantic roles & 50–950 ramp

primary
#DEFE76
secondary
#623DDB
accent
#00E636
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEFE76

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

Preview Lab → · Contrast checker → · Palette generator →

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