#D8E841#D8E841

#D8E841 is a very light, vivid yellow. Relative luminance 0.727; OKLCH L 89.1% C 0.181 H 115.0°. Best body text is #000000 at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#D8E841
RGBrgb(216, 232, 65)
HSLhsl(66, 78%, 58%)
HSVhsv(66, 72%, 91%)
CMYKcmyk(6.9%, 0%, 72%, 9%)
CIE-LABlab(88.30, -25.16, 74.36)
CIE-LCHlch(88.30, 78.50, 108.69°)
OKLaboklab(89.05% -0.0766 0.1645)
OKLCHoklch(89.05% 0.181 115)
XYZxyz(58.1313, 72.6948, 15.9692)
Luminance0.7269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E841 #5141E8
analogous
#E8A541 #D8E841 #84E841
triadic
#D8E841 #41D8E8 #E841D8
tetradic
#D8E841 #41E8A5 #5141E8 #E84184
square
#D8E841 #41E8A5 #5141E8 #E84184
split-complementary
#D8E841 #4184E8 #A541E8
monochromatic
#8F9C13 #C1D219 #D8E841 #E3EF78 #EEF5AE

Accessibility & contrast

On white

1.35
#D8E841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.54
#D8E841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E841
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E841#FFFFFF#000000##000000
##D8E8411.001.3515.5415.54
#FFFFFF1.351.0021.0021.00
#00000015.5421.001.001.00
##00000015.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DC20
Deuteranopia (green-blind)
#F8DF4F
Tritanopia (blue-blind)
#E6DBC8
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d8e841;
/* rgb */ color: rgb(216, 232, 65);
/* oklch */ color: oklch(89.1% 0.181 115.0);
Tailwind
colors: {
  custom: {
    50: '#e8ef81',
    500: '#d8e841',
    950: '#000000',
  },
}
SCSS
$custom: #d8e841;
$custom-light: #e8ef81;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e841",
  "rgb": {
    "r": 216,
    "g": 232,
    "b": 65
  },
  "hsl": {
    "h": 65.749,
    "s": 78.404,
    "l": 58.235
  },
  "oklch": {
    "l": 0.89053,
    "c": 0.18147,
    "h": 115
  },
  "luminance": 0.72694
}

Semantic roles & 50–950 ramp

primary
#D8E841
secondary
#392E9F
accent
#33F545
background
#FFFFFB
surface
#FEFEF2
border
#D6D6CC
text
#17160B
muted
#85857E

Preview Lab

Preview with #D8E841

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

Preview Lab → · Contrast checker → · Palette generator →

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