#D9F172#D9F172

#D9F172 is a very light, vivid yellow-green. Relative luminance 0.789; OKLCH L 91.5% C 0.155 H 118.5°. Best body text is #000000 at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#D9F172
RGBrgb(217, 241, 114)
HSLhsl(71, 82%, 70%)
HSVhsv(71, 53%, 95%)
CMYKcmyk(10%, 0%, 52.7%, 5.5%)
CIE-LABlab(91.18, -25.78, 57.89)
CIE-LCHlch(91.18, 63.37, 114.00°)
OKLaboklab(91.5% -0.0737 0.136)
OKLCHoklch(91.5% 0.155 118.5)
XYZxyz(63.1086, 78.8776, 27.8166)
Luminance0.7888 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F172 #8A72F1
analogous
#F1CA72 #D9F172 #99F172
triadic
#D9F172 #72D9F1 #F172D9
tetradic
#D9F172 #72F1CA #8A72F1 #F17299
square
#D9F172 #72F1CA #8A72F1 #F17299
split-complementary
#D9F172 #7299F1 #CA72F1
monochromatic
#B0D415 #CAEB3A #D9F172 #E8F7AA #F7FCE1

Accessibility & contrast

On white

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

On black

16.78
#D9F172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F172
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F172#FFFFFF#000000##000000
##D9F1721.001.2516.7816.78
#FFFFFF1.251.0021.0021.00
#00000016.7821.001.001.00
##00000016.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE666
Deuteranopia (green-blind)
#FCE679
Tritanopia (blue-blind)
#E4E6D5
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d9f172;
/* rgb */ color: rgb(217, 241, 114);
/* oklch */ color: oklch(91.5% 0.155 118.5);
Tailwind
colors: {
  custom: {
    50: '#e7f59e',
    500: '#d9f172',
    950: '#000000',
  },
}
SCSS
$custom: #d9f172;
$custom-light: #e7f59e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f172",
  "rgb": {
    "r": 217,
    "g": 241,
    "b": 114
  },
  "hsl": {
    "h": 71.339,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.91503,
    "c": 0.15472,
    "h": 118.5
  },
  "luminance": 0.78877
}

Semantic roles & 50–950 ramp

primary
#D9F172
secondary
#583DCA
accent
#07DE30
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D9F172

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

Preview Lab → · Contrast checker → · Palette generator →

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