#D9F170#D9F170

#D9F170 is a very light, vivid yellow-green. Relative luminance 0.788; OKLCH L 91.5% C 0.157 H 118.4°. Best body text is #000000 at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#D9F170
RGBrgb(217, 241, 112)
HSLhsl(71, 82%, 69%)
HSVhsv(71, 54%, 95%)
CMYKcmyk(10%, 0%, 53.5%, 5.5%)
CIE-LABlab(91.16, -25.95, 58.76)
CIE-LCHlch(91.16, 64.23, 113.83°)
OKLaboklab(91.48% -0.0744 0.1377)
OKLCHoklch(91.48% 0.157 118.4)
XYZxyz(62.9960, 78.8326, 27.2236)
Luminance0.7883 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F170 #8870F1
analogous
#F1C970 #D9F170 #99F170
triadic
#D9F170 #70D9F1 #F170D9
tetradic
#D9F170 #70F1C9 #8870F1 #F17099
square
#D9F170 #70F1C9 #8870F1 #F17099
split-complementary
#D9F170 #7099F1 #C970F1
monochromatic
#AFD215 #CAEC38 #D9F170 #E8F6A8 #F7FCDF

Accessibility & contrast

On white

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

On black

16.77
#D9F170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F170
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F170#FFFFFF#000000##000000
##D9F1701.001.2516.7716.77
#FFFFFF1.251.0021.0021.00
#00000016.7721.001.001.00
##00000016.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE563
Deuteranopia (green-blind)
#FCE678
Tritanopia (blue-blind)
#E4E6D4
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d9f170;
/* rgb */ color: rgb(217, 241, 112);
/* oklch */ color: oklch(91.5% 0.157 118.4);
Tailwind
colors: {
  custom: {
    50: '#e7f59d',
    500: '#d9f170',
    950: '#000000',
  },
}
SCSS
$custom: #d9f170;
$custom-light: #e7f59d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f170",
  "rgb": {
    "r": 217,
    "g": 241,
    "b": 112
  },
  "hsl": {
    "h": 71.163,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.9148,
    "c": 0.15653,
    "h": 118.4
  },
  "luminance": 0.78832
}

Semantic roles & 50–950 ramp

primary
#D9F170
secondary
#563BCA
accent
#07DF2F
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #D9F170

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

Preview Lab → · Contrast checker → · Palette generator →

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