#E8C645#E8C645

#E8C645 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.3% C 0.147 H 93.9°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#E8C645
RGBrgb(232, 198, 69)
HSLhsl(47, 78%, 59%)
HSVhsv(47, 70%, 91%)
CMYKcmyk(0%, 14.7%, 70.3%, 9%)
CIE-LABlab(80.73, -1.41, 65.95)
CIE-LCHlch(80.73, 65.97, 91.22°)
OKLaboklab(83.34% -0.0101 0.1469)
OKLCHoklch(83.34% 0.147 93.9)
XYZxyz(54.5498, 57.9767, 13.9464)
Luminance0.5797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8C645 #4567E8
analogous
#E87545 #E8C645 #B8E845
triadic
#E8C645 #45E8C6 #C645E8
tetradic
#E8C645 #45E875 #4567E8 #E845B8
square
#E8C645 #45E875 #4567E8 #E845B8
split-complementary
#E8C645 #45B8E8 #7545E8
monochromatic
#9F8214 #D5AE1A #E8C645 #EFD77B #F5E7B2

Accessibility & contrast

On white

1.67
#E8C645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#E8C645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8C645
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8C645#FFFFFF#000000##000000
##E8C6451.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC232
Deuteranopia (green-blind)
#E3CD4C
Tritanopia (blue-blind)
#FAB7AC
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e8c645;
/* rgb */ color: rgb(232, 198, 69);
/* oklch */ color: oklch(83.3% 0.147 93.9);
Tailwind
colors: {
  custom: {
    50: '#f3d680',
    500: '#e8c645',
    950: '#000000',
  },
}
SCSS
$custom: #e8c645;
$custom-light: #f3d680;
$custom-dark: #000000;
JSON
{
  "hex": "#e8c645",
  "rgb": {
    "r": 232,
    "g": 198,
    "b": 69
  },
  "hsl": {
    "h": 47.485,
    "s": 77.99,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83344,
    "c": 0.14728,
    "h": 93.9
  },
  "luminance": 0.57974
}

Semantic roles & 50–950 ramp

primary
#E8C645
secondary
#2F47A2
accent
#5CF433
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #E8C645

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

Preview Lab → · Contrast checker → · Palette generator →

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