#E8C045#E8C045

#E8C045 is a very light, vivid yellow. Relative luminance 0.553; OKLCH L 82.1% C 0.144 H 90.5°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#E8C045
RGBrgb(232, 192, 69)
HSLhsl(45, 78%, 59%)
HSVhsv(45, 70%, 91%)
CMYKcmyk(0%, 17.2%, 70.3%, 9%)
CIE-LABlab(79.21, 1.70, 64.42)
CIE-LCHlch(79.21, 64.45, 88.49°)
OKLaboklab(82.15% -0.0012 0.1437)
OKLCHoklch(82.15% 0.144 90.5)
XYZxyz(53.2054, 55.2880, 13.4983)
Luminance0.5528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8C045 #456DE8
analogous
#E86F45 #E8C045 #BFE845
triadic
#E8C045 #45E8C0 #C045E8
tetradic
#E8C045 #45E86F #456DE8 #E845BF
square
#E8C045 #45E86F #456DE8 #E845BF
split-complementary
#E8C045 #45BFE8 #6F45E8
monochromatic
#9F7D14 #D5A81A #E8C045 #EFD27B #F5E5B2

Accessibility & contrast

On white

1.74
#E8C045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#E8C045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8C045
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8C045#FFFFFF#000000##000000
##E8C0451.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE34
Deuteranopia (green-blind)
#DFC94B
Tritanopia (blue-blind)
#FBB0A7
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e8c045;
/* rgb */ color: rgb(232, 192, 69);
/* oklch */ color: oklch(82.1% 0.144 90.5);
Tailwind
colors: {
  custom: {
    50: '#f3d27f',
    500: '#e8c045',
    950: '#000000',
  },
}
SCSS
$custom: #e8c045;
$custom-light: #f3d27f;
$custom-dark: #000000;
JSON
{
  "hex": "#e8c045",
  "rgb": {
    "r": 232,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 45.276,
    "s": 77.99,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82145,
    "c": 0.1437,
    "h": 90.5
  },
  "luminance": 0.55285
}

Semantic roles & 50–950 ramp

primary
#E8C045
secondary
#2F4CA2
accent
#63F433
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #E8C045

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

Preview Lab → · Contrast checker → · Palette generator →

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