#D8F266#D8F266

#D8F266 is a very light, vivid yellow-green. Relative luminance 0.791; OKLCH L 91.5% C 0.167 H 118.7°. Best body text is #000000 at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#D8F266
RGBrgb(216, 242, 102)
HSLhsl(71, 84%, 67%)
HSVhsv(71, 58%, 95%)
CMYKcmyk(10.7%, 0%, 57.9%, 5.1%)
CIE-LABlab(91.26, -27.61, 63.23)
CIE-LCHlch(91.26, 68.99, 113.59°)
OKLaboklab(91.52% -0.08 0.1463)
OKLCHoklch(91.52% 0.167 118.7)
XYZxyz(62.4702, 79.0629, 24.5375)
Luminance0.7906 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F266 #8066F2
analogous
#F2C666 #D8F266 #92F266
triadic
#D8F266 #66D8F2 #F266D8
tetradic
#D8F266 #66F2C6 #8066F2 #F26692
square
#D8F266 #66F2C6 #8066F2 #F26692
split-complementary
#D8F266 #6692F2 #C666F2
monochromatic
#AACC11 #CAED2E #D8F266 #E6F79E #F5FCD7

Accessibility & contrast

On white

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

On black

16.81
#D8F266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F266
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F266#FFFFFF#000000##000000
##D8F2661.001.2516.8116.81
#FFFFFF1.251.0021.0021.00
#00000016.8121.001.001.00
##00000016.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE657
Deuteranopia (green-blind)
#FDE76F
Tritanopia (blue-blind)
#E3E6D4
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d8f266;
/* rgb */ color: rgb(216, 242, 102);
/* oklch */ color: oklch(91.5% 0.167 118.7);
Tailwind
colors: {
  custom: {
    50: '#e7f696',
    500: '#d8f266',
    950: '#000000',
  },
}
SCSS
$custom: #d8f266;
$custom-light: #e7f696;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f266",
  "rgb": {
    "r": 216,
    "g": 242,
    "b": 102
  },
  "hsl": {
    "h": 71.143,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.91515,
    "c": 0.1667,
    "h": 118.7
  },
  "luminance": 0.79063
}

Semantic roles & 50–950 ramp

primary
#D8F266
secondary
#4F34C9
accent
#05E12E
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #D8F266

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

Preview Lab → · Contrast checker → · Palette generator →

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