#D7F17A#D7F17A

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

Color values

HEX#D7F17A
RGBrgb(215, 241, 122)
HSLhsl(73, 81%, 71%)
HSVhsv(73, 49%, 95%)
CMYKcmyk(10.8%, 0%, 49.4%, 5.5%)
CIE-LABlab(91.13, -25.82, 54.14)
CIE-LCHlch(91.13, 59.98, 115.50°)
OKLaboklab(91.45% -0.073 0.1286)
OKLCHoklch(91.45% 0.148 119.6)
XYZxyz(62.9930, 78.7631, 30.2928)
Luminance0.7876 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F17A #947AF1
analogous
#F1CF7A #D7F17A #9BF17A
triadic
#D7F17A #7AD7F1 #F17AD7
tetradic
#D7F17A #7AF1CF #947AF1 #F17A9B
square
#D7F17A #7AF1CF #947AF1 #F17A9B
split-complementary
#D7F17A #7A9BF1 #CF7AF1
monochromatic
#AFDA17 #C6EB43 #D7F17A #E8F7B1 #F7FCE3

Accessibility & contrast

On white

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

On black

16.75
#D7F17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F17A
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F17A#FFFFFF#000000##000000
##D7F17A1.001.2516.7516.75
#FFFFFF1.251.0021.0021.00
#00000016.7521.001.001.00
##00000016.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE66F
Deuteranopia (green-blind)
#FBE681
Tritanopia (blue-blind)
#E1E6D6
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d7f17a;
/* rgb */ color: rgb(215, 241, 122);
/* oklch */ color: oklch(91.5% 0.148 119.6);
Tailwind
colors: {
  custom: {
    50: '#e5f5a3',
    500: '#d7f17a',
    950: '#000000',
  },
}
SCSS
$custom: #d7f17a;
$custom-light: #e5f5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f17a",
  "rgb": {
    "r": 215,
    "g": 241,
    "b": 122
  },
  "hsl": {
    "h": 73.109,
    "s": 80.952,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91454,
    "c": 0.14787,
    "h": 119.6
  },
  "luminance": 0.78763
}

Semantic roles & 50–950 ramp

primary
#D7F17A
secondary
#6244CB
accent
#08DD37
background
#FEFFFC
surface
#FDFEF6
border
#D5D6D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D7F17A

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

Preview Lab → · Contrast checker → · Palette generator →

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