#D9F17C#D9F17C

#D9F17C is a very light, vivid yellow-green. Relative luminance 0.791; OKLCH L 91.6% C 0.145 H 118.9°. Best body text is #000000 at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#D9F17C
RGBrgb(217, 241, 124)
HSLhsl(72, 81%, 72%)
HSVhsv(72, 49%, 95%)
CMYKcmyk(10%, 0%, 48.5%, 5.5%)
CIE-LABlab(91.29, -24.87, 53.44)
CIE-LCHlch(91.29, 58.94, 114.95°)
OKLaboklab(91.63% -0.0703 0.1272)
OKLCHoklch(91.63% 0.145 118.9)
XYZxyz(63.7092, 79.1179, 30.9799)
Luminance0.7912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F17C #947CF1
analogous
#F1CF7C #D9F17C #9FF17C
triadic
#D9F17C #7CD9F1 #F17CD9
tetradic
#D9F17C #7CF1CF #947CF1 #F17C9F
square
#D9F17C #7CF1CF #947CF1 #F17C9F
split-complementary
#D9F17C #7C9FF1 #CF7CF1
monochromatic
#B3DB17 #C9EB45 #D9F17C #E9F7B3 #F7FCE3

Accessibility & contrast

On white

1.25
#D9F17C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.82
#D9F17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F17C
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F17C#FFFFFF#000000##000000
##D9F17C1.001.2516.8216.82
#FFFFFF1.251.0021.0021.00
#00000016.8221.001.001.00
##00000016.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE672
Deuteranopia (green-blind)
#FBE782
Tritanopia (blue-blind)
#E3E6D6
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d9f17c;
/* rgb */ color: rgb(217, 241, 124);
/* oklch */ color: oklch(91.6% 0.145 118.9);
Tailwind
colors: {
  custom: {
    50: '#e6f5a4',
    500: '#d9f17c',
    950: '#000000',
  },
}
SCSS
$custom: #d9f17c;
$custom-light: #e6f5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f17c",
  "rgb": {
    "r": 217,
    "g": 241,
    "b": 124
  },
  "hsl": {
    "h": 72.308,
    "s": 80.69,
    "l": 71.569
  },
  "oklch": {
    "l": 0.91625,
    "c": 0.14529,
    "h": 118.9
  },
  "luminance": 0.79118
}

Semantic roles & 50–950 ramp

primary
#D9F17C
secondary
#6146CB
accent
#08DD34
background
#FEFFFC
surface
#FDFEF6
border
#D5D6D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D9F17C

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

Preview Lab → · Contrast checker → · Palette generator →

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