#E8C545#E8C545

#E8C545 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 83.1% C 0.147 H 93.4°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#E8C545
RGBrgb(232, 197, 69)
HSLhsl(47, 78%, 59%)
HSVhsv(47, 70%, 91%)
CMYKcmyk(0%, 15.1%, 70.3%, 9%)
CIE-LABlab(80.47, -0.89, 65.70)
CIE-LCHlch(80.47, 65.70, 90.78°)
OKLaboklab(83.14% -0.0087 0.1464)
OKLCHoklch(83.14% 0.147 93.4)
XYZxyz(54.3220, 57.5210, 13.8705)
Luminance0.5752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8C545 #4568E8
analogous
#E87445 #E8C545 #B9E845
triadic
#E8C545 #45E8C5 #C545E8
tetradic
#E8C545 #45E874 #4568E8 #E845B9
square
#E8C545 #45E874 #4568E8 #E845B9
split-complementary
#E8C545 #45B9E8 #7445E8
monochromatic
#9F8114 #D5AD1A #E8C545 #EFD67B #F5E7B2

Accessibility & contrast

On white

1.68
#E8C545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.50
#E8C545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8C545
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8C545#FFFFFF#000000##000000
##E8C5451.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC233
Deuteranopia (green-blind)
#E2CC4C
Tritanopia (blue-blind)
#FAB6AB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e8c545;
/* rgb */ color: rgb(232, 197, 69);
/* oklch */ color: oklch(83.1% 0.147 93.4);
Tailwind
colors: {
  custom: {
    50: '#f3d680',
    500: '#e8c545',
    950: '#000000',
  },
}
SCSS
$custom: #e8c545;
$custom-light: #f3d680;
$custom-dark: #000000;
JSON
{
  "hex": "#e8c545",
  "rgb": {
    "r": 232,
    "g": 197,
    "b": 69
  },
  "hsl": {
    "h": 47.117,
    "s": 77.99,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83144,
    "c": 0.14665,
    "h": 93.4
  },
  "luminance": 0.57518
}

Semantic roles & 50–950 ramp

primary
#E8C545
secondary
#2F48A2
accent
#5DF433
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #E8C545

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

Preview Lab → · Contrast checker → · Palette generator →

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