#D8EC57#D8EC57

#D8EC57 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#D8EC57
RGBrgb(216, 236, 87)
HSLhsl(68, 80%, 63%)
HSVhsv(68, 63%, 93%)
CMYKcmyk(8.5%, 0%, 63.1%, 7.5%)
CIE-LABlab(89.52, -25.84, 67.53)
CIE-LCHlch(89.52, 72.30, 110.94°)
OKLaboklab(90.08% -0.0764 0.1535)
OKLCHoklch(90.08% 0.171 116.5)
XYZxyz(60.0359, 75.2787, 20.3826)
Luminance0.7528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EC57 #6B57EC
analogous
#ECB657 #D8EC57 #8DEC57
triadic
#D8EC57 #57D8EC #EC57D8
tetradic
#D8EC57 #57ECB6 #6B57EC #EC578D
square
#D8EC57 #57ECB6 #6B57EC #EC578D
split-complementary
#D8EC57 #578DEC #B657EC
monochromatic
#9FB414 #CBE620 #D8EC57 #E5F28E #F2F8C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8EC57#FFFFFF#000000##000000
##D8EC571.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)
#FBE044
Deuteranopia (green-blind)
#FAE261
Tritanopia (blue-blind)
#E5DFCD
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d8ec57;
/* rgb */ color: rgb(216, 236, 87);
/* oklch */ color: oklch(90.1% 0.171 116.5);
Tailwind
colors: {
  custom: {
    50: '#e7f28d',
    500: '#d8ec57',
    950: '#000000',
  },
}
SCSS
$custom: #d8ec57;
$custom-light: #e7f28d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ec57",
  "rgb": {
    "r": 216,
    "g": 236,
    "b": 87
  },
  "hsl": {
    "h": 68.054,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.90079,
    "c": 0.17148,
    "h": 116.5
  },
  "luminance": 0.75278
}

Semantic roles & 50–950 ramp

primary
#D8EC57
secondary
#4433B4
accent
#0ADC26
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D8EC57

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

Preview Lab → · Contrast checker → · Palette generator →

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