#D8E857#D8E857

#D8E857 is a very light, vivid yellow. Relative luminance 0.730; OKLCH L 89.2% C 0.167 H 115.2°. Best body text is #000000 at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#D8E857
RGBrgb(216, 232, 87)
HSLhsl(67, 76%, 63%)
HSVhsv(67, 63%, 91%)
CMYKcmyk(6.9%, 0%, 62.5%, 9%)
CIE-LABlab(88.45, -23.93, 66.39)
CIE-LCHlch(88.45, 70.57, 109.83°)
OKLaboklab(89.22% -0.0711 0.1511)
OKLCHoklch(89.22% 0.167 115.2)
XYZxyz(58.8972, 73.0012, 20.0030)
Luminance0.7300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E857 #6757E8
analogous
#E8B057 #D8E857 #8FE857
triadic
#D8E857 #57D8E8 #E857D8
tetradic
#D8E857 #57E8B0 #6757E8 #E8578F
square
#D8E857 #57E8B0 #6757E8 #E8578F
split-complementary
#D8E857 #578FE8 #B057E8
monochromatic
#9CAD18 #CCE121 #D8E857 #E4EF8D #F1F7C3

Accessibility & contrast

On white

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

On black

15.60
#D8E857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E857
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E857#FFFFFF#000000##000000
##D8E8571.001.3515.6015.60
#FFFFFF1.351.0021.0021.00
#00000015.6021.001.001.00
##00000015.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD45
Deuteranopia (green-blind)
#F6DF61
Tritanopia (blue-blind)
#E5DBCA
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d8e857;
/* rgb */ color: rgb(216, 232, 87);
/* oklch */ color: oklch(89.2% 0.167 115.2);
Tailwind
colors: {
  custom: {
    50: '#e7ef8d',
    500: '#d8e857',
    950: '#000000',
  },
}
SCSS
$custom: #d8e857;
$custom-light: #e7ef8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e857",
  "rgb": {
    "r": 216,
    "g": 232,
    "b": 87
  },
  "hsl": {
    "h": 66.621,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.89217,
    "c": 0.16699,
    "h": 115.2
  },
  "luminance": 0.73
}

Semantic roles & 50–950 ramp

primary
#D8E857
secondary
#4335AE
accent
#0DD824
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D8E857

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

Preview Lab → · Contrast checker → · Palette generator →

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