#D9F873#D9F873

#D9F873 is a very light, vivid yellow-green. Relative luminance 0.831; OKLCH L 93.0% C 0.162 H 120.6°. Best body text is #000000 at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#D9F873
RGBrgb(217, 248, 115)
HSLhsl(74, 90%, 71%)
HSVhsv(74, 54%, 97%)
CMYKcmyk(12.5%, 0%, 53.6%, 2.7%)
CIE-LABlab(93.07, -28.98, 59.63)
CIE-LCHlch(93.07, 66.30, 115.92°)
OKLaboklab(93.02% -0.0826 0.1399)
OKLCHoklch(93.02% 0.162 120.6)
XYZxyz(65.2778, 83.1245, 28.8220)
Luminance0.8312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F873 #9273F8
analogous
#F8D473 #D9F873 #96F873
triadic
#D9F873 #73D9F8 #F873D9
tetradic
#D9F873 #73F8D4 #9273F8 #F87396
square
#D9F873 #73F8D4 #9273F8 #F87396
split-complementary
#D9F873 #7396F8 #D473F8
monochromatic
#B2E50B #C9F539 #D9F873 #E9FBAD #F7FEE2

Accessibility & contrast

On white

1.19
#D9F873 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.62
#D9F873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F873
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F873#FFFFFF#000000##000000
##D9F8731.001.1917.6217.62
#FFFFFF1.191.0021.0021.00
#00000017.6221.001.001.00
##00000017.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9f873;
/* rgb */ color: rgb(217, 248, 115);
/* oklch */ color: oklch(93.0% 0.162 120.6);
Tailwind
colors: {
  custom: {
    50: '#e7fa9f',
    500: '#d9f873',
    950: '#000000',
  },
}
SCSS
$custom: #d9f873;
$custom-light: #e7fa9f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f873",
  "rgb": {
    "r": 217,
    "g": 248,
    "b": 115
  },
  "hsl": {
    "h": 73.985,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.93023,
    "c": 0.16248,
    "h": 120.6
  },
  "luminance": 0.83124
}

Semantic roles & 50–950 ramp

primary
#D9F873
secondary
#5F3CD3
accent
#00E635
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D9F873

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

Preview Lab → · Contrast checker → · Palette generator →

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