#D8EC51#D8EC51

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

Color values

HEX#D8EC51
RGBrgb(216, 236, 81)
HSLhsl(68, 80%, 62%)
HSVhsv(68, 66%, 93%)
CMYKcmyk(8.5%, 0%, 65.7%, 7.5%)
CIE-LABlab(89.48, -26.21, 69.82)
CIE-LCHlch(89.48, 74.57, 110.58°)
OKLaboklab(90.03% -0.078 0.1575)
OKLCHoklch(90.03% 0.176 116.4)
XYZxyz(59.8009, 75.1847, 19.1448)
Luminance0.7518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EC51 #6551EC
analogous
#ECB351 #D8EC51 #8BEC51
triadic
#D8EC51 #51D8EC #EC51D8
tetradic
#D8EC51 #51ECB3 #6551EC #EC518B
square
#D8EC51 #51ECB3 #6551EC #EC518B
split-complementary
#D8EC51 #518BEC #B351EC
monochromatic
#9BAF13 #CCE61A #D8EC51 #E4F288 #F1F8BF

Accessibility & contrast

On white

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

On black

16.04
#D8EC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EC51
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EC51#FFFFFF#000000##000000
##D8EC511.001.3116.0416.04
#FFFFFF1.311.0021.0021.00
#00000016.0421.001.001.00
##00000016.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8ec51;
/* rgb */ color: rgb(216, 236, 81);
/* oklch */ color: oklch(90.0% 0.176 116.4);
Tailwind
colors: {
  custom: {
    50: '#e7f28a',
    500: '#d8ec51',
    950: '#000000',
  },
}
SCSS
$custom: #d8ec51;
$custom-light: #e7f28a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ec51",
  "rgb": {
    "r": 216,
    "g": 236,
    "b": 81
  },
  "hsl": {
    "h": 67.742,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.9003,
    "c": 0.17575,
    "h": 116.4
  },
  "luminance": 0.75184
}

Semantic roles & 50–950 ramp

primary
#D8EC51
secondary
#4231B0
accent
#09DD24
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D8EC51

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

Preview Lab → · Contrast checker → · Palette generator →

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