#DEF877#DEF877

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

Color values

HEX#DEF877
RGBrgb(222, 248, 119)
HSLhsl(72, 90%, 72%)
HSVhsv(72, 52%, 97%)
CMYKcmyk(10.5%, 0%, 52%, 2.7%)
CIE-LABlab(93.45, -26.73, 58.37)
CIE-LCHlch(93.45, 64.20, 114.60°)
OKLaboklab(93.43% -0.0762 0.1375)
OKLCHoklch(93.43% 0.157 119)
XYZxyz(67.0221, 83.9967, 30.1314)
Luminance0.8400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF877 #9177F8
analogous
#F8D277 #DEF877 #9EF877
triadic
#DEF877 #77DEF8 #F877DE
tetradic
#DEF877 #77F8D2 #9177F8 #F8779E
square
#DEF877 #77F8D2 #9177F8 #F8779E
split-complementary
#DEF877 #779EF8 #D277F8
monochromatic
#BCE90C #D0F53D #DEF877 #ECFBB1 #F8FEE2

Accessibility & contrast

On white

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

On black

17.80
#DEF877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF877
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF877#FFFFFF#000000##000000
##DEF8771.001.1817.8017.80
#FFFFFF1.181.0021.0021.00
#00000017.8021.001.001.00
##00000017.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def877;
/* rgb */ color: rgb(222, 248, 119);
/* oklch */ color: oklch(93.4% 0.157 119.0);
Tailwind
colors: {
  custom: {
    50: '#eafaa1',
    500: '#def877',
    950: '#000000',
  },
}
SCSS
$custom: #def877;
$custom-light: #eafaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#def877",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 119
  },
  "hsl": {
    "h": 72.093,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.93427,
    "c": 0.15718,
    "h": 119
  },
  "luminance": 0.83996
}

Semantic roles & 50–950 ramp

primary
#DEF877
secondary
#5D3FD4
accent
#00E62E
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF877

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

Preview Lab → · Contrast checker → · Palette generator →

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