#D8ED57#D8ED57

#D8ED57 is a very light, vivid yellow. Relative luminance 0.759; OKLCH L 90.3% C 0.173 H 116.8°. Best body text is #000000 at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#D8ED57
RGBrgb(216, 237, 87)
HSLhsl(68, 81%, 64%)
HSVhsv(68, 63%, 93%)
CMYKcmyk(8.9%, 0%, 63.3%, 7.1%)
CIE-LABlab(89.79, -26.31, 67.81)
CIE-LCHlch(89.79, 72.74, 111.21°)
OKLaboklab(90.3% -0.0778 0.1541)
OKLCHoklch(90.3% 0.173 116.8)
XYZxyz(60.3246, 75.8561, 20.4788)
Luminance0.7585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8ED57 #6C57ED
analogous
#EDB757 #D8ED57 #8DED57
triadic
#D8ED57 #57D8ED #ED57D8
tetradic
#D8ED57 #57EDB7 #6C57ED #ED578D
square
#D8ED57 #57EDB7 #6C57ED #ED578D
split-complementary
#D8ED57 #578DED #B757ED
monochromatic
#9FB614 #CBE720 #D8ED57 #E5F38E #F2F9C6

Accessibility & contrast

On white

1.30
#D8ED57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.17
#D8ED57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8ED57
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8ED57#FFFFFF#000000##000000
##D8ED571.001.3016.1716.17
#FFFFFF1.301.0021.0021.00
#00000016.1721.001.001.00
##00000016.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE143
Deuteranopia (green-blind)
#FAE361
Tritanopia (blue-blind)
#E5E0CE
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #d8ed57;
/* rgb */ color: rgb(216, 237, 87);
/* oklch */ color: oklch(90.3% 0.173 116.8);
Tailwind
colors: {
  custom: {
    50: '#e7f28d',
    500: '#d8ed57',
    950: '#000000',
  },
}
SCSS
$custom: #d8ed57;
$custom-light: #e7f28d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ed57",
  "rgb": {
    "r": 216,
    "g": 237,
    "b": 87
  },
  "hsl": {
    "h": 68.4,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.90295,
    "c": 0.17261,
    "h": 116.8
  },
  "luminance": 0.75855
}

Semantic roles & 50–950 ramp

primary
#D8ED57
secondary
#4533B6
accent
#09DD26
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D8ED57

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

Preview Lab → · Contrast checker → · Palette generator →

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