#D8F166#D8F166

#D8F166 is a very light, vivid yellow-green. Relative luminance 0.785; OKLCH L 91.3% C 0.166 H 118.4°. Best body text is #000000 at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#D8F166
RGBrgb(216, 241, 102)
HSLhsl(71, 83%, 67%)
HSVhsv(71, 58%, 95%)
CMYKcmyk(10.4%, 0%, 57.7%, 5.5%)
CIE-LABlab(90.99, -27.14, 62.93)
CIE-LCHlch(90.99, 68.53, 113.33°)
OKLaboklab(91.3% -0.0786 0.1456)
OKLCHoklch(91.3% 0.166 118.4)
XYZxyz(62.1734, 78.4693, 24.4386)
Luminance0.7847 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F166 #7F66F1
analogous
#F1C466 #D8F166 #93F166
triadic
#D8F166 #66D8F1 #F166D8
tetradic
#D8F166 #66F1C4 #7F66F1 #F16693
square
#D8F166 #66F1C4 #7F66F1 #F16693
split-complementary
#D8F166 #6693F1 #C466F1
monochromatic
#A9CA12 #CAEC2E #D8F166 #E6F69E #F5FBD6

Accessibility & contrast

On white

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

On black

16.69
#D8F166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F166
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F166#FFFFFF#000000##000000
##D8F1661.001.2616.6916.69
#FFFFFF1.261.0021.0021.00
#00000016.6921.001.001.00
##00000016.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8f166;
/* rgb */ color: rgb(216, 241, 102);
/* oklch */ color: oklch(91.3% 0.166 118.4);
Tailwind
colors: {
  custom: {
    50: '#e7f596',
    500: '#d8f166',
    950: '#000000',
  },
}
SCSS
$custom: #d8f166;
$custom-light: #e7f596;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f166",
  "rgb": {
    "r": 216,
    "g": 241,
    "b": 102
  },
  "hsl": {
    "h": 70.791,
    "s": 83.234,
    "l": 67.255
  },
  "oklch": {
    "l": 0.91299,
    "c": 0.16551,
    "h": 118.4
  },
  "luminance": 0.78469
}

Semantic roles & 50–950 ramp

primary
#D8F166
secondary
#4F34C7
accent
#06E02D
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #D8F166

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

Preview Lab → · Contrast checker → · Palette generator →

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