#D8E551#D8E551

#D8E551 is a very light, vivid yellow. Relative luminance 0.712; OKLCH L 88.5% C 0.168 H 114.1°. Best body text is #000000 at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#D8E551
RGBrgb(216, 229, 81)
HSLhsl(65, 74%, 61%)
HSVhsv(65, 65%, 90%)
CMYKcmyk(5.7%, 0%, 64.6%, 10.2%)
CIE-LABlab(87.60, -22.87, 67.87)
CIE-LCHlch(87.60, 71.62, 108.62°)
OKLaboklab(88.52% -0.0687 0.1534)
OKLCHoklch(88.52% 0.168 114.1)
XYZxyz(57.8249, 71.2327, 18.4861)
Luminance0.7123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E551 #5E51E5
analogous
#E5A851 #D8E551 #8EE551
triadic
#D8E551 #51D8E5 #E551D8
tetradic
#D8E551 #51E5A8 #5E51E5 #E5518E
square
#D8E551 #51E5A8 #5E51E5 #E5518E
split-complementary
#D8E551 #518EE5 #A851E5
monochromatic
#97A318 #C8D820 #D8E551 #E4ED86 #F0F5BB

Accessibility & contrast

On white

1.38
#D8E551 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.25
#D8E551 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E551
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E551#FFFFFF#000000##000000
##D8E5511.001.3815.2515.25
#FFFFFF1.381.0021.0021.00
#00000015.2521.001.001.00
##00000015.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DA3D
Deuteranopia (green-blind)
#F4DD5B
Tritanopia (blue-blind)
#E5D8C7
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d8e551;
/* rgb */ color: rgb(216, 229, 81);
/* oklch */ color: oklch(88.5% 0.168 114.1);
Tailwind
colors: {
  custom: {
    50: '#e7ed89',
    500: '#d8e551',
    950: '#000000',
  },
}
SCSS
$custom: #d8e551;
$custom-light: #e7ed89;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e551",
  "rgb": {
    "r": 216,
    "g": 229,
    "b": 81
  },
  "hsl": {
    "h": 65.27,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.88521,
    "c": 0.16807,
    "h": 114.1
  },
  "luminance": 0.71232
}

Semantic roles & 50–950 ramp

primary
#D8E551
secondary
#3F35A6
accent
#0FD621
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D8E551

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

Preview Lab → · Contrast checker → · Palette generator →

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