#D7F166#D7F166

#D7F166 is a very light, vivid yellow-green. Relative luminance 0.783; OKLCH L 91.2% C 0.166 H 118.7°. Best body text is #000000 at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#D7F166
RGBrgb(215, 241, 102)
HSLhsl(71, 83%, 67%)
HSVhsv(71, 58%, 95%)
CMYKcmyk(10.8%, 0%, 57.7%, 5.5%)
CIE-LABlab(90.92, -27.53, 62.83)
CIE-LCHlch(90.92, 68.60, 113.66°)
OKLaboklab(91.23% -0.0797 0.1454)
OKLCHoklch(91.23% 0.166 118.7)
XYZxyz(61.8788, 78.3174, 24.4247)
Luminance0.7832 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F166 #8066F1
analogous
#F1C666 #D7F166 #92F166
triadic
#D7F166 #66D7F1 #F166D7
tetradic
#D7F166 #66F1C6 #8066F1 #F16692
square
#D7F166 #66F1C6 #8066F1 #F16692
split-complementary
#D7F166 #6692F1 #C666F1
monochromatic
#A8CA12 #C8EC2E #D7F166 #E6F69E #F4FBD6

Accessibility & contrast

On white

1.26
#D7F166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.66
#D7F166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F166
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F166#FFFFFF#000000##000000
##D7F1661.001.2616.6616.66
#FFFFFF1.261.0021.0021.00
#00000016.6621.001.001.00
##00000016.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE557
Deuteranopia (green-blind)
#FCE66F
Tritanopia (blue-blind)
#E2E5D3
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d7f166;
/* rgb */ color: rgb(215, 241, 102);
/* oklch */ color: oklch(91.2% 0.166 118.7);
Tailwind
colors: {
  custom: {
    50: '#e6f596',
    500: '#d7f166',
    950: '#000000',
  },
}
SCSS
$custom: #d7f166;
$custom-light: #e6f596;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f166",
  "rgb": {
    "r": 215,
    "g": 241,
    "b": 102
  },
  "hsl": {
    "h": 71.223,
    "s": 83.234,
    "l": 67.255
  },
  "oklch": {
    "l": 0.91226,
    "c": 0.16584,
    "h": 118.7
  },
  "luminance": 0.78317
}

Semantic roles & 50–950 ramp

primary
#D7F166
secondary
#5034C7
accent
#06E02F
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #D7F166

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

Preview Lab → · Contrast checker → · Palette generator →

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