#D8E754#D8E754

#D8E754 is a very light, vivid yellow. Relative luminance 0.724; OKLCH L 89.0% C 0.168 H 114.8°. Best body text is #000000 at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#D8E754
RGBrgb(216, 231, 84)
HSLhsl(66, 75%, 62%)
HSVhsv(66, 64%, 91%)
CMYKcmyk(6.5%, 0%, 63.6%, 9.4%)
CIE-LABlab(88.16, -23.65, 67.28)
CIE-LCHlch(88.16, 71.31, 109.37°)
OKLaboklab(88.98% -0.0706 0.1526)
OKLCHoklch(88.98% 0.168 114.8)
XYZxyz(58.4965, 72.3918, 19.2773)
Luminance0.7239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E754 #6354E7
analogous
#E7AC54 #D8E754 #8FE754
triadic
#D8E754 #54D8E7 #E754D8
tetradic
#D8E754 #54E7AC #6354E7 #E7548F
square
#D8E754 #54E7AC #6354E7 #E7548F
split-complementary
#D8E754 #548FE7 #AC54E7
monochromatic
#9AA918 #CBDF1F #D8E754 #E4EF8A #F0F6BF

Accessibility & contrast

On white

1.36
#D8E754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.48
#D8E754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E754
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E754#FFFFFF#000000##000000
##D8E7541.001.3615.4815.48
#FFFFFF1.361.0021.0021.00
#00000015.4821.001.001.00
##00000015.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC41
Deuteranopia (green-blind)
#F6DE5E
Tritanopia (blue-blind)
#E5DAC9
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d8e754;
/* rgb */ color: rgb(216, 231, 84);
/* oklch */ color: oklch(89.0% 0.168 114.8);
Tailwind
colors: {
  custom: {
    50: '#e7ee8b',
    500: '#d8e754',
    950: '#000000',
  },
}
SCSS
$custom: #d8e754;
$custom-light: #e7ee8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e754",
  "rgb": {
    "r": 216,
    "g": 231,
    "b": 84
  },
  "hsl": {
    "h": 66.122,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.88976,
    "c": 0.1681,
    "h": 114.8
  },
  "luminance": 0.72391
}

Semantic roles & 50–950 ramp

primary
#D8E754
secondary
#4135AA
accent
#0ED823
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D8E754

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

Preview Lab → · Contrast checker → · Palette generator →

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