#E8DC46#E8DC46

#E8DC46 is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 87.8% C 0.164 H 104.7°. Best body text is #000000 at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#E8DC46
RGBrgb(232, 220, 70)
HSLhsl(56, 78%, 59%)
HSVhsv(56, 70%, 91%)
CMYKcmyk(0%, 5.2%, 69.8%, 9%)
CIE-LABlab(86.40, -12.50, 71.21)
CIE-LCHlch(86.40, 72.29, 99.96°)
OKLaboklab(87.85% -0.0415 0.1582)
OKLCHoklch(87.85% 0.164 104.7)
XYZxyz(59.9799, 68.7867, 15.9109)
Luminance0.6878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DC46 #4652E8
analogous
#E88B46 #E8DC46 #A3E846
triadic
#E8DC46 #46E8DC #DC46E8
tetradic
#E8DC46 #46E88B #4652E8 #E846A3
square
#E8DC46 #46E88B #4652E8 #E846A3
split-complementary
#E8DC46 #46A3E8 #8B46E8
monochromatic
#A09514 #D6C81B #E8DC46 #EFE67C #F6F1B3

Accessibility & contrast

On white

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

On black

14.76
#E8DC46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DC46
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DC46#FFFFFF#000000##000000
##E8DC461.001.4214.7614.76
#FFFFFF1.421.0021.0021.00
#00000014.7621.001.001.00
##00000014.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD42E
Deuteranopia (green-blind)
#F3DB50
Tritanopia (blue-blind)
#F9CDBE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e8dc46;
/* rgb */ color: rgb(232, 220, 70);
/* oklch */ color: oklch(87.8% 0.164 104.7);
Tailwind
colors: {
  custom: {
    50: '#f3e682',
    500: '#e8dc46',
    950: '#000000',
  },
}
SCSS
$custom: #e8dc46;
$custom-light: #f3e682;
$custom-dark: #000000;
JSON
{
  "hex": "#e8dc46",
  "rgb": {
    "r": 232,
    "g": 220,
    "b": 70
  },
  "hsl": {
    "h": 55.556,
    "s": 77.885,
    "l": 59.216
  },
  "oklch": {
    "l": 0.87846,
    "c": 0.16357,
    "h": 104.7
  },
  "luminance": 0.68784
}

Semantic roles & 50–950 ramp

primary
#E8DC46
secondary
#3038A2
accent
#42F433
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E8DC46

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

Preview Lab → · Contrast checker → · Palette generator →

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