#D8E552#D8E552

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

Color values

HEX#D8E552
RGBrgb(216, 229, 82)
HSLhsl(65, 74%, 61%)
HSVhsv(65, 64%, 90%)
CMYKcmyk(5.7%, 0%, 64.2%, 10.2%)
CIE-LABlab(87.61, -22.81, 67.49)
CIE-LCHlch(87.61, 71.24, 108.68°)
OKLaboklab(88.53% -0.0684 0.1527)
OKLCHoklch(88.53% 0.167 114.1)
XYZxyz(57.8627, 71.2478, 18.6851)
Luminance0.7125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E552 #5F52E5
analogous
#E5A852 #D8E552 #8EE552
triadic
#D8E552 #52D8E5 #E552D8
tetradic
#D8E552 #52E5A8 #5F52E5 #E5528E
square
#D8E552 #52E5A8 #5F52E5 #E5528E
split-complementary
#D8E552 #528EE5 #A852E5
monochromatic
#98A419 #C9D921 #D8E552 #E4ED87 #F0F5BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8E552#FFFFFF#000000##000000
##D8E5521.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)
#F5DA3E
Deuteranopia (green-blind)
#F4DD5C
Tritanopia (blue-blind)
#E5D8C7
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d8e552;
/* rgb */ color: rgb(216, 229, 82);
/* oklch */ color: oklch(88.5% 0.167 114.1);
Tailwind
colors: {
  custom: {
    50: '#e7ed8a',
    500: '#d8e552',
    950: '#000000',
  },
}
SCSS
$custom: #d8e552;
$custom-light: #e7ed8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e552",
  "rgb": {
    "r": 216,
    "g": 229,
    "b": 82
  },
  "hsl": {
    "h": 65.306,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.8853,
    "c": 0.16736,
    "h": 114.1
  },
  "luminance": 0.71247
}

Semantic roles & 50–950 ramp

primary
#D8E552
secondary
#3F35A6
accent
#10D621
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D8E552

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

Preview Lab → · Contrast checker → · Palette generator →

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