#D4F873#D4F873

#D4F873 is a very light, vivid yellow-green. Relative luminance 0.824; OKLCH L 92.7% C 0.164 H 122.3°. Best body text is #000000 at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#D4F873
RGBrgb(212, 248, 115)
HSLhsl(76, 90%, 71%)
HSVhsv(76, 54%, 97%)
CMYKcmyk(14.5%, 0%, 53.6%, 2.7%)
CIE-LABlab(92.74, -30.88, 59.17)
CIE-LCHlch(92.74, 66.74, 117.56°)
OKLaboklab(92.67% -0.0877 0.139)
OKLCHoklch(92.67% 0.164 122.3)
XYZxyz(63.8137, 82.3695, 28.7534)
Luminance0.8237 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F873 #9773F8
analogous
#F8DA73 #D4F873 #91F873
triadic
#D4F873 #73D4F8 #F873D4
tetradic
#D4F873 #73F8DA #9773F8 #F87391
square
#D4F873 #73F8DA #9773F8 #F87391
split-complementary
#D4F873 #7391F8 #DA73F8
monochromatic
#AAE50B #C2F539 #D4F873 #E6FBAD #F6FEE2

Accessibility & contrast

On white

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

On black

17.47
#D4F873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F873
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F873#FFFFFF#000000##000000
##D4F8731.001.2017.4717.47
#FFFFFF1.201.0021.0021.00
#00000017.4721.001.001.00
##00000017.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB66
Deuteranopia (green-blind)
#FFEA7B
Tritanopia (blue-blind)
#DDEDDA
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d4f873;
/* rgb */ color: rgb(212, 248, 115);
/* oklch */ color: oklch(92.7% 0.164 122.3);
Tailwind
colors: {
  custom: {
    50: '#e3fa9f',
    500: '#d4f873',
    950: '#000000',
  },
}
SCSS
$custom: #d4f873;
$custom-light: #e3fa9f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f873",
  "rgb": {
    "r": 212,
    "g": 248,
    "b": 115
  },
  "hsl": {
    "h": 76.241,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.92673,
    "c": 0.16431,
    "h": 122.3
  },
  "luminance": 0.8237
}

Semantic roles & 50–950 ramp

primary
#D4F873
secondary
#653CD3
accent
#00E63E
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D4F873

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

Preview Lab → · Contrast checker → · Palette generator →

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