#D8F366#D8F366

#D8F366 is a very light, vivid yellow-green. Relative luminance 0.797; OKLCH L 91.7% C 0.168 H 119.0°. Best body text is #000000 at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#D8F366
RGBrgb(216, 243, 102)
HSLhsl(71, 85%, 68%)
HSVhsv(71, 58%, 95%)
CMYKcmyk(11.1%, 0%, 58%, 4.7%)
CIE-LABlab(91.53, -28.08, 63.53)
CIE-LCHlch(91.53, 69.46, 113.85°)
OKLaboklab(91.73% -0.0813 0.1469)
OKLCHoklch(91.73% 0.168 119)
XYZxyz(62.7687, 79.6598, 24.6370)
Luminance0.7966 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F366 #8166F3
analogous
#F3C766 #D8F366 #92F366
triadic
#D8F366 #66D8F3 #F366D8
tetradic
#D8F366 #66F3C7 #8166F3 #F36692
square
#D8F366 #66F3C7 #8166F3 #F36692
split-complementary
#D8F366 #6692F3 #C766F3
monochromatic
#AACE10 #CAEF2D #D8F366 #E6F79F #F5FCD7

Accessibility & contrast

On white

1.24
#D8F366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.93
#D8F366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F366
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F366#FFFFFF#000000##000000
##D8F3661.001.2416.9316.93
#FFFFFF1.241.0021.0021.00
#00000016.9321.001.001.00
##00000016.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE756
Deuteranopia (green-blind)
#FEE76F
Tritanopia (blue-blind)
#E3E7D5
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #d8f366;
/* rgb */ color: rgb(216, 243, 102);
/* oklch */ color: oklch(91.7% 0.168 119.0);
Tailwind
colors: {
  custom: {
    50: '#e7f796',
    500: '#d8f366',
    950: '#000000',
  },
}
SCSS
$custom: #d8f366;
$custom-light: #e7f796;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f366",
  "rgb": {
    "r": 216,
    "g": 243,
    "b": 102
  },
  "hsl": {
    "h": 71.489,
    "s": 85.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.91731,
    "c": 0.1679,
    "h": 119
  },
  "luminance": 0.79659
}

Semantic roles & 50–950 ramp

primary
#D8F366
secondary
#5033CA
accent
#04E22E
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #D8F366

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

Preview Lab → · Contrast checker → · Palette generator →

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