#DEF876#DEF876

#DEF876 is a very light, vivid yellow-green. Relative luminance 0.840; OKLCH L 93.4% C 0.158 H 119.0°. Best body text is #000000 at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#DEF876
RGBrgb(222, 248, 118)
HSLhsl(72, 90%, 72%)
HSVhsv(72, 52%, 97%)
CMYKcmyk(10.5%, 0%, 52.4%, 2.7%)
CIE-LABlab(93.44, -26.81, 58.81)
CIE-LCHlch(93.44, 64.64, 114.51°)
OKLaboklab(93.42% -0.0766 0.1383)
OKLCHoklch(93.42% 0.158 119)
XYZxyz(66.9624, 83.9728, 29.8168)
Luminance0.8397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF876 #9076F8
analogous
#F8D176 #DEF876 #9DF876
triadic
#DEF876 #76DEF8 #F876DE
tetradic
#DEF876 #76F8D1 #9076F8 #F8769D
square
#DEF876 #76F8D1 #9076F8 #F8769D
split-complementary
#DEF876 #769DF8 #D176F8
monochromatic
#BCE80C #D0F53C #DEF876 #ECFBB0 #F8FEE2

Accessibility & contrast

On white

1.18
#DEF876 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.79
#DEF876 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF876
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF876#FFFFFF#000000##000000
##DEF8761.001.1817.7917.79
#FFFFFF1.181.0021.0021.00
#00000017.7921.001.001.00
##00000017.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC69
Deuteranopia (green-blind)
#FFED7E
Tritanopia (blue-blind)
#E9EDDB
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #def876;
/* rgb */ color: rgb(222, 248, 118);
/* oklch */ color: oklch(93.4% 0.158 119.0);
Tailwind
colors: {
  custom: {
    50: '#eafaa1',
    500: '#def876',
    950: '#000000',
  },
}
SCSS
$custom: #def876;
$custom-light: #eafaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#def876",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 118
  },
  "hsl": {
    "h": 72,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.93415,
    "c": 0.15809,
    "h": 119
  },
  "luminance": 0.83972
}

Semantic roles & 50–950 ramp

primary
#DEF876
secondary
#5C3FD4
accent
#00E62E
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF876

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

Preview Lab → · Contrast checker → · Palette generator →

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