#D9F866#D9F866

#D9F866 is a very light, vivid yellow-green. Relative luminance 0.828; OKLCH L 92.9% C 0.174 H 120.0°. Best body text is #000000 at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#D9F866
RGBrgb(217, 248, 102)
HSLhsl(73, 91%, 69%)
HSVhsv(73, 59%, 97%)
CMYKcmyk(12.5%, 0%, 58.9%, 2.7%)
CIE-LABlab(92.95, -30.03, 65.12)
CIE-LCHlch(92.95, 71.71, 114.76°)
OKLaboklab(92.89% -0.0868 0.1503)
OKLCHoklch(92.89% 0.174 120)
XYZxyz(64.5818, 82.8461, 25.1564)
Luminance0.8285 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F866 #8566F8
analogous
#F8CE66 #D9F866 #90F866
triadic
#D9F866 #66D9F8 #F866D9
tetradic
#D9F866 #66F8CE #8566F8 #F86690
square
#D9F866 #66F8CE #8566F8 #F86690
split-complementary
#D9F866 #6690F8 #CE66F8
monochromatic
#AEDA0A #CAF52B #D9F866 #E8FBA1 #F6FDDB

Accessibility & contrast

On white

1.20
#D9F866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.57
#D9F866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F866
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F866#FFFFFF#000000##000000
##D9F8661.001.2017.5717.57
#FFFFFF1.201.0021.0021.00
#00000017.5721.001.001.00
##00000017.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB55
Deuteranopia (green-blind)
#FFEB70
Tritanopia (blue-blind)
#E4ECD9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d9f866;
/* rgb */ color: rgb(217, 248, 102);
/* oklch */ color: oklch(92.9% 0.174 120.0);
Tailwind
colors: {
  custom: {
    50: '#e7fa97',
    500: '#d9f866',
    950: '#000000',
  },
}
SCSS
$custom: #d9f866;
$custom-light: #e7fa97;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f866",
  "rgb": {
    "r": 217,
    "g": 248,
    "b": 102
  },
  "hsl": {
    "h": 72.74,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.92886,
    "c": 0.17353,
    "h": 120
  },
  "luminance": 0.82846
}

Semantic roles & 50–950 ramp

primary
#D9F866
secondary
#5331D2
accent
#00E631
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #D9F866

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

Preview Lab → · Contrast checker → · Palette generator →

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