#D7F873#D7F873

#D7F873 is a very light, vivid yellow-green. Relative luminance 0.828; OKLCH L 92.9% C 0.163 H 121.3°. Best body text is #000000 at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#D7F873
RGBrgb(215, 248, 115)
HSLhsl(75, 90%, 71%)
HSVhsv(75, 54%, 97%)
CMYKcmyk(13.3%, 0%, 53.6%, 2.7%)
CIE-LABlab(92.94, -29.74, 59.45)
CIE-LCHlch(92.94, 66.47, 116.58°)
OKLaboklab(92.88% -0.0847 0.1395)
OKLCHoklch(92.88% 0.163 121.3)
XYZxyz(64.6868, 82.8197, 28.7943)
Luminance0.8282 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F873 #9473F8
analogous
#F8D673 #D7F873 #94F873
triadic
#D7F873 #73D7F8 #F873D7
tetradic
#D7F873 #73F8D6 #9473F8 #F87394
square
#D7F873 #73F8D6 #9473F8 #F87394
split-complementary
#D7F873 #7394F8 #D673F8
monochromatic
#AFE50B #C6F539 #D7F873 #E8FBAD #F7FEE2

Accessibility & contrast

On white

1.20
#D7F873 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.56
#D7F873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F873
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F873#FFFFFF#000000##000000
##D7F8731.001.2017.5617.56
#FFFFFF1.201.0021.0021.00
#00000017.5621.001.001.00
##00000017.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB66
Deuteranopia (green-blind)
#FFEB7B
Tritanopia (blue-blind)
#E1EDDA
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d7f873;
/* rgb */ color: rgb(215, 248, 115);
/* oklch */ color: oklch(92.9% 0.163 121.3);
Tailwind
colors: {
  custom: {
    50: '#e6fa9f',
    500: '#d7f873',
    950: '#000000',
  },
}
SCSS
$custom: #d7f873;
$custom-light: #e6fa9f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f873",
  "rgb": {
    "r": 215,
    "g": 248,
    "b": 115
  },
  "hsl": {
    "h": 74.887,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.92882,
    "c": 0.1632,
    "h": 121.3
  },
  "luminance": 0.8282
}

Semantic roles & 50–950 ramp

primary
#D7F873
secondary
#623CD3
accent
#00E639
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D7F873

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

Preview Lab → · Contrast checker → · Palette generator →

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