#E8C845#E8C845

#E8C845 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.7% C 0.149 H 95.1°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#E8C845
RGBrgb(232, 200, 69)
HSLhsl(48, 78%, 59%)
HSVhsv(48, 70%, 91%)
CMYKcmyk(0%, 13.8%, 70.3%, 9%)
CIE-LABlab(81.23, -2.43, 66.46)
CIE-LCHlch(81.23, 66.51, 92.10°)
OKLaboklab(83.75% -0.0131 0.148)
OKLCHoklch(83.75% 0.149 95.1)
XYZxyz(55.0100, 58.8970, 14.0998)
Luminance0.5889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8C845 #4565E8
analogous
#E87745 #E8C845 #B7E845
triadic
#E8C845 #45E8C8 #C845E8
tetradic
#E8C845 #45E877 #4565E8 #E845B7
square
#E8C845 #45E877 #4565E8 #E845B7
split-complementary
#E8C845 #45B7E8 #7745E8
monochromatic
#9F8414 #D5B11A #E8C845 #EFD87B #F5E8B2

Accessibility & contrast

On white

1.64
#E8C845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#E8C845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8C845
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8C845#FFFFFF#000000##000000
##E8C8451.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC432
Deuteranopia (green-blind)
#E5CE4C
Tritanopia (blue-blind)
#FAB9AE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e8c845;
/* rgb */ color: rgb(232, 200, 69);
/* oklch */ color: oklch(83.7% 0.149 95.1);
Tailwind
colors: {
  custom: {
    50: '#f3d880',
    500: '#e8c845',
    950: '#000000',
  },
}
SCSS
$custom: #e8c845;
$custom-light: #f3d880;
$custom-dark: #000000;
JSON
{
  "hex": "#e8c845",
  "rgb": {
    "r": 232,
    "g": 200,
    "b": 69
  },
  "hsl": {
    "h": 48.221,
    "s": 77.99,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83747,
    "c": 0.14858,
    "h": 95.1
  },
  "luminance": 0.58894
}

Semantic roles & 50–950 ramp

primary
#E8C845
secondary
#2F46A2
accent
#59F433
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #E8C845

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

Preview Lab → · Contrast checker → · Palette generator →

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