#E8DC50#E8DC50

#E8DC50 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 87.9% C 0.157 H 104.4°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#E8DC50
RGBrgb(232, 220, 80)
HSLhsl(55, 77%, 61%)
HSVhsv(55, 66%, 91%)
CMYKcmyk(0%, 5.2%, 65.5%, 9%)
CIE-LABlab(86.47, -11.98, 67.48)
CIE-LCHlch(86.47, 68.54, 100.07°)
OKLaboklab(87.92% -0.039 0.152)
OKLCHoklch(87.92% 0.157 104.4)
XYZxyz(60.3222, 68.9237, 17.7140)
Luminance0.6892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DC50 #505CE8
analogous
#E89050 #E8DC50 #A8E850
triadic
#E8DC50 #50E8DC #DC50E8
tetradic
#E8DC50 #50E890 #505CE8 #E850A8
square
#E8DC50 #50E890 #505CE8 #E850A8
split-complementary
#E8DC50 #50A8E8 #9050E8
monochromatic
#A89C16 #DECE1D #E8DC50 #EFE786 #F6F2BC

Accessibility & contrast

On white

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

On black

14.78
#E8DC50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DC50
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DC50#FFFFFF#000000##000000
##E8DC501.001.4214.7814.78
#FFFFFF1.421.0021.0021.00
#00000014.7821.001.001.00
##00000014.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD53D
Deuteranopia (green-blind)
#F3DB59
Tritanopia (blue-blind)
#F9CEBF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e8dc50;
/* rgb */ color: rgb(232, 220, 80);
/* oklch */ color: oklch(87.9% 0.157 104.4);
Tailwind
colors: {
  custom: {
    50: '#f3e688',
    500: '#e8dc50',
    950: '#000000',
  },
}
SCSS
$custom: #e8dc50;
$custom-light: #f3e688;
$custom-dark: #000000;
JSON
{
  "hex": "#e8dc50",
  "rgb": {
    "r": 232,
    "g": 220,
    "b": 80
  },
  "hsl": {
    "h": 55.263,
    "s": 76.768,
    "l": 61.176
  },
  "oklch": {
    "l": 0.87921,
    "c": 0.15693,
    "h": 104.4
  },
  "luminance": 0.68921
}

Semantic roles & 50–950 ramp

primary
#E8DC50
secondary
#333CA9
accent
#1DD90D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8DC50

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

Preview Lab → · Contrast checker → · Palette generator →

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