#D8E166#D8E166

#D8E166 is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 87.9% C 0.147 H 112.9°. Best body text is #000000 at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#D8E166
RGBrgb(216, 225, 102)
HSLhsl(64, 67%, 64%)
HSVhsv(64, 55%, 88%)
CMYKcmyk(4%, 0%, 54.7%, 11.8%)
CIE-LABlab(86.71, -19.47, 58.09)
CIE-LCHlch(86.71, 61.27, 108.53°)
OKLaboklab(87.87% -0.057 0.1353)
OKLCHoklch(87.87% 0.147 112.9)
XYZxyz(57.6436, 69.4097, 22.9286)
Luminance0.6941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E166 #6F66E1
analogous
#E1AD66 #D8E166 #9BE166
triadic
#D8E166 #66D8E1 #E166D8
tetradic
#D8E166 #66E1AD #6F66E1 #E1669B
square
#D8E166 #66E1AD #6F66E1 #E1669B
split-complementary
#D8E166 #669BE1 #AD66E1
monochromatic
#A1AB22 #CBD733 #D8E166 #E5EB99 #F2F5CC

Accessibility & contrast

On white

1.41
#D8E166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.88
#D8E166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E166
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E166#FFFFFF#000000##000000
##D8E1661.001.4114.8814.88
#FFFFFF1.411.0021.0021.00
#00000014.8821.001.001.00
##00000014.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D859
Deuteranopia (green-blind)
#F0DB6D
Tritanopia (blue-blind)
#E5D5C6
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d8e166;
/* rgb */ color: rgb(216, 225, 102);
/* oklch */ color: oklch(87.9% 0.147 112.9);
Tailwind
colors: {
  custom: {
    50: '#e6ea95',
    500: '#d8e166',
    950: '#000000',
  },
}
SCSS
$custom: #d8e166;
$custom-light: #e6ea95;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e166",
  "rgb": {
    "r": 216,
    "g": 225,
    "b": 102
  },
  "hsl": {
    "h": 64.39,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.87866,
    "c": 0.14682,
    "h": 112.9
  },
  "luminance": 0.69409
}

Semantic roles & 50–950 ramp

primary
#D8E166
secondary
#463EAD
accent
#16CF24
background
#FEFEFC
surface
#FDFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D8E166

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

Preview Lab → · Contrast checker → · Palette generator →

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