#D8EC54#D8EC54

#D8EC54 is a very light, vivid yellow. Relative luminance 0.752; OKLCH L 90.1% C 0.174 H 116.4°. Best body text is #000000 at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#D8EC54
RGBrgb(216, 236, 84)
HSLhsl(68, 80%, 63%)
HSVhsv(68, 64%, 93%)
CMYKcmyk(8.5%, 0%, 64.4%, 7.5%)
CIE-LABlab(89.50, -26.03, 68.68)
CIE-LCHlch(89.50, 73.45, 110.75°)
OKLaboklab(90.05% -0.0772 0.1555)
OKLCHoklch(90.05% 0.174 116.4)
XYZxyz(59.9159, 75.2307, 19.7504)
Luminance0.7523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EC54 #6854EC
analogous
#ECB454 #D8EC54 #8CEC54
triadic
#D8EC54 #54D8EC #EC54D8
tetradic
#D8EC54 #54ECB4 #6854EC #EC548C
square
#D8EC54 #54ECB4 #6854EC #EC548C
split-complementary
#D8EC54 #548CEC #B454EC
monochromatic
#9DB214 #CBE61D #D8EC54 #E5F28B #F1F8C2

Accessibility & contrast

On white

1.31
#D8EC54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.05
#D8EC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EC54
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EC54#FFFFFF#000000##000000
##D8EC541.001.3116.0516.05
#FFFFFF1.311.0021.0021.00
#00000016.0521.001.001.00
##00000016.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE03F
Deuteranopia (green-blind)
#FAE25F
Tritanopia (blue-blind)
#E5DFCD
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d8ec54;
/* rgb */ color: rgb(216, 236, 84);
/* oklch */ color: oklch(90.1% 0.174 116.4);
Tailwind
colors: {
  custom: {
    50: '#e7f28b',
    500: '#d8ec54',
    950: '#000000',
  },
}
SCSS
$custom: #d8ec54;
$custom-light: #e7f28b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ec54",
  "rgb": {
    "r": 216,
    "g": 236,
    "b": 84
  },
  "hsl": {
    "h": 67.895,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.90054,
    "c": 0.17365,
    "h": 116.4
  },
  "luminance": 0.7523
}

Semantic roles & 50–950 ramp

primary
#D8EC54
secondary
#4332B2
accent
#09DC25
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D8EC54

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

Preview Lab → · Contrast checker → · Palette generator →

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