#E8C548#E8C548

#E8C548 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 83.2% C 0.145 H 93.1°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#E8C548
RGBrgb(232, 197, 72)
HSLhsl(47, 78%, 60%)
HSVhsv(47, 69%, 91%)
CMYKcmyk(0%, 15.1%, 69%, 9%)
CIE-LABlab(80.49, -0.74, 64.53)
CIE-LCHlch(80.49, 64.54, 90.66°)
OKLaboklab(83.17% -0.0079 0.1444)
OKLCHoklch(83.17% 0.145 93.1)
XYZxyz(54.4175, 57.5592, 14.3734)
Luminance0.5756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8C548 #486BE8
analogous
#E87548 #E8C548 #BBE848
triadic
#E8C548 #48E8C5 #C548E8
tetradic
#E8C548 #48E875 #486BE8 #E848BB
square
#E8C548 #48E875 #486BE8 #E848BB
split-complementary
#E8C548 #48BBE8 #7548E8
monochromatic
#A18214 #D8AE1B #E8C548 #EFD67E #F6E7B5

Accessibility & contrast

On white

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

On black

12.51
#E8C548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8C548
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8C548#FFFFFF#000000##000000
##E8C5481.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8c548;
/* rgb */ color: rgb(232, 197, 72);
/* oklch */ color: oklch(83.2% 0.145 93.1);
Tailwind
colors: {
  custom: {
    50: '#f3d682',
    500: '#e8c548',
    950: '#000000',
  },
}
SCSS
$custom: #e8c548;
$custom-light: #f3d682;
$custom-dark: #000000;
JSON
{
  "hex": "#e8c548",
  "rgb": {
    "r": 232,
    "g": 197,
    "b": 72
  },
  "hsl": {
    "h": 46.875,
    "s": 77.67,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83167,
    "c": 0.14466,
    "h": 93.1
  },
  "luminance": 0.57556
}

Semantic roles & 50–950 ramp

primary
#E8C548
secondary
#304AA4
accent
#5EF434
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #E8C548

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

Preview Lab → · Contrast checker → · Palette generator →

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