#E8DC58#E8DC58

#E8DC58 is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 88.0% C 0.151 H 104.1°. Best body text is #000000 at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#E8DC58
RGBrgb(232, 220, 88)
HSLhsl(55, 76%, 63%)
HSVhsv(55, 62%, 91%)
CMYKcmyk(0%, 5.2%, 62.1%, 9%)
CIE-LABlab(86.53, -11.51, 64.30)
CIE-LCHlch(86.53, 65.32, 100.14°)
OKLaboklab(87.99% -0.0368 0.1465)
OKLCHoklch(87.99% 0.151 104.1)
XYZxyz(60.6356, 69.0490, 19.3644)
Luminance0.6905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DC58 #5864E8
analogous
#E89458 #E8DC58 #ACE858
triadic
#E8DC58 #58E8DC #DC58E8
tetradic
#E8DC58 #58E894 #5864E8 #E858AC
square
#E8DC58 #58E894 #5864E8 #E858AC
split-complementary
#E8DC58 #58ACE8 #9458E8
monochromatic
#AEA118 #E1D122 #E8DC58 #EFE78E #F7F3C4

Accessibility & contrast

On white

1.42
#E8DC58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.81
#E8DC58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DC58
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DC58#FFFFFF#000000##000000
##E8DC581.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED548
Deuteranopia (green-blind)
#F2DB60
Tritanopia (blue-blind)
#F8CEC0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e8dc58;
/* rgb */ color: rgb(232, 220, 88);
/* oklch */ color: oklch(88.0% 0.151 104.1);
Tailwind
colors: {
  custom: {
    50: '#f2e68d',
    500: '#e8dc58',
    950: '#000000',
  },
}
SCSS
$custom: #e8dc58;
$custom-light: #f2e68d;
$custom-dark: #000000;
JSON
{
  "hex": "#e8dc58",
  "rgb": {
    "r": 232,
    "g": 220,
    "b": 88
  },
  "hsl": {
    "h": 55,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.87991,
    "c": 0.15101,
    "h": 104.1
  },
  "luminance": 0.69047
}

Semantic roles & 50–950 ramp

primary
#E8DC58
secondary
#3640AF
accent
#1ED80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8DC58

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

Preview Lab → · Contrast checker → · Palette generator →

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