#D8EC58#D8EC58

#D8EC58 is a very light, vivid yellow. Relative luminance 0.753; OKLCH L 90.1% C 0.171 H 116.5°. Best body text is #000000 at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#D8EC58
RGBrgb(216, 236, 88)
HSLhsl(68, 80%, 64%)
HSVhsv(68, 63%, 93%)
CMYKcmyk(8.5%, 0%, 62.7%, 7.5%)
CIE-LABlab(89.53, -25.77, 67.14)
CIE-LCHlch(89.53, 71.91, 111.00°)
OKLaboklab(90.09% -0.0762 0.1528)
OKLCHoklch(90.09% 0.171 116.5)
XYZxyz(60.0771, 75.2952, 20.5992)
Luminance0.7529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EC58 #6C58EC
analogous
#ECB658 #D8EC58 #8EEC58
triadic
#D8EC58 #58D8EC #EC58D8
tetradic
#D8EC58 #58ECB6 #6C58EC #EC588E
square
#D8EC58 #58ECB6 #6C58EC #EC588E
split-complementary
#D8EC58 #588EEC #B658EC
monochromatic
#9FB515 #CBE621 #D8EC58 #E5F28F #F2F9C6

Accessibility & contrast

On white

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

On black

16.06
#D8EC58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EC58
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EC58#FFFFFF#000000##000000
##D8EC581.001.3116.0616.06
#FFFFFF1.311.0021.0021.00
#00000016.0621.001.001.00
##00000016.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8ec58;
/* rgb */ color: rgb(216, 236, 88);
/* oklch */ color: oklch(90.1% 0.171 116.5);
Tailwind
colors: {
  custom: {
    50: '#e7f28e',
    500: '#d8ec58',
    950: '#000000',
  },
}
SCSS
$custom: #d8ec58;
$custom-light: #e7f28e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ec58",
  "rgb": {
    "r": 216,
    "g": 236,
    "b": 88
  },
  "hsl": {
    "h": 68.108,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.90088,
    "c": 0.17074,
    "h": 116.5
  },
  "luminance": 0.75294
}

Semantic roles & 50–950 ramp

primary
#D8EC58
secondary
#4533B5
accent
#0ADC26
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D8EC58

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

Preview Lab → · Contrast checker → · Palette generator →

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