#D8E054#D8E054

#D8E054 is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.5% C 0.160 H 112.4°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#D8E054
RGBrgb(216, 224, 84)
HSLhsl(63, 69%, 60%)
HSVhsv(63, 63%, 88%)
CMYKcmyk(3.6%, 0%, 62.5%, 12.2%)
CIE-LABlab(86.28, -20.27, 65.30)
CIE-LCHlch(86.28, 68.37, 107.24°)
OKLaboklab(87.48% -0.0611 0.1484)
OKLCHoklch(87.48% 0.16 112.4)
XYZxyz(56.5763, 68.5516, 18.6372)
Luminance0.6855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E054 #5C54E0
analogous
#E0A254 #D8E054 #92E054
triadic
#D8E054 #54D8E0 #E054D8
tetradic
#D8E054 #54E0A2 #5C54E0 #E05492
square
#D8E054 #54E0A2 #5C54E0 #E05492
split-complementary
#D8E054 #5492E0 #A254E0
monochromatic
#969D1C #C7D126 #D8E054 #E4E988 #F0F3BC

Accessibility & contrast

On white

1.43
#D8E054 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.71
#D8E054 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E054
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E054#FFFFFF#000000##000000
##D8E0541.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D642
Deuteranopia (green-blind)
#F0DA5D
Tritanopia (blue-blind)
#E6D3C3
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d8e054;
/* rgb */ color: rgb(216, 224, 84);
/* oklch */ color: oklch(87.5% 0.160 112.4);
Tailwind
colors: {
  custom: {
    50: '#e7e98a',
    500: '#d8e054',
    950: '#000000',
  },
}
SCSS
$custom: #d8e054;
$custom-light: #e7e98a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e054",
  "rgb": {
    "r": 216,
    "g": 224,
    "b": 84
  },
  "hsl": {
    "h": 63.429,
    "s": 69.307,
    "l": 60.392
  },
  "oklch": {
    "l": 0.87475,
    "c": 0.16048,
    "h": 112.4
  },
  "luminance": 0.6855
}

Semantic roles & 50–950 ramp

primary
#D8E054
secondary
#3E38A1
accent
#14D11F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D8E054

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

Preview Lab → · Contrast checker → · Palette generator →

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