#DEF873#DEF873

#DEF873 is a very light, vivid yellow-green. Relative luminance 0.839; OKLCH L 93.4% C 0.161 H 118.8°. Best body text is #000000 at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#DEF873
RGBrgb(222, 248, 115)
HSLhsl(72, 90%, 71%)
HSVhsv(72, 54%, 97%)
CMYKcmyk(10.5%, 0%, 53.6%, 2.7%)
CIE-LABlab(93.41, -27.07, 60.11)
CIE-LCHlch(93.41, 65.93, 114.24°)
OKLaboklab(93.38% -0.0776 0.1409)
OKLCHoklch(93.38% 0.161 118.8)
XYZxyz(66.7869, 83.9026, 28.8928)
Luminance0.8390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF873 #8D73F8
analogous
#F8CF73 #DEF873 #9BF873
triadic
#DEF873 #73DEF8 #F873DE
tetradic
#DEF873 #73F8CF #8D73F8 #F8739B
square
#DEF873 #73F8CF #8D73F8 #F8739B
split-complementary
#DEF873 #739BF8 #CF73F8
monochromatic
#BBE50B #D0F539 #DEF873 #ECFBAD #F8FEE2

Accessibility & contrast

On white

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

On black

17.78
#DEF873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF873
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF873#FFFFFF#000000##000000
##DEF8731.001.1817.7817.78
#FFFFFF1.181.0021.0021.00
#00000017.7821.001.001.00
##00000017.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC66
Deuteranopia (green-blind)
#FFED7B
Tritanopia (blue-blind)
#E9ECDA
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #def873;
/* rgb */ color: rgb(222, 248, 115);
/* oklch */ color: oklch(93.4% 0.161 118.8);
Tailwind
colors: {
  custom: {
    50: '#ebfa9f',
    500: '#def873',
    950: '#000000',
  },
}
SCSS
$custom: #def873;
$custom-light: #ebfa9f;
$custom-dark: #000000;
JSON
{
  "hex": "#def873",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 115
  },
  "hsl": {
    "h": 71.729,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.93381,
    "c": 0.1608,
    "h": 118.8
  },
  "luminance": 0.83902
}

Semantic roles & 50–950 ramp

primary
#DEF873
secondary
#5A3CD3
accent
#00E62D
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF873

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

Preview Lab → · Contrast checker → · Palette generator →

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