#E8C552#E8C552

#E8C552 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 83.3% C 0.138 H 92.1°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#E8C552
RGBrgb(232, 197, 82)
HSLhsl(46, 77%, 62%)
HSVhsv(46, 65%, 91%)
CMYKcmyk(0%, 15.1%, 64.7%, 9%)
CIE-LABlab(80.57, -0.18, 60.45)
CIE-LCHlch(80.57, 60.45, 90.17°)
OKLaboklab(83.26% -0.0051 0.1374)
OKLCHoklch(83.26% 0.138 92.1)
XYZxyz(54.7706, 57.7005, 16.2334)
Luminance0.5770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8C552 #5275E8
analogous
#E87A52 #E8C552 #C0E852
triadic
#E8C552 #52E8C5 #C552E8
tetradic
#E8C552 #52E87A #5275E8 #E852C0
square
#E8C552 #52E87A #5275E8 #E852C0
split-complementary
#E8C552 #52C0E8 #7A52E8
monochromatic
#A98716 #DFB21E #E8C552 #EFD788 #F6E9BE

Accessibility & contrast

On white

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

On black

12.54
#E8C552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8C552
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8C552#FFFFFF#000000##000000
##E8C5521.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C245
Deuteranopia (green-blind)
#E2CC57
Tritanopia (blue-blind)
#FAB6AD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e8c552;
/* rgb */ color: rgb(232, 197, 82);
/* oklch */ color: oklch(83.3% 0.138 92.1);
Tailwind
colors: {
  custom: {
    50: '#f3d687',
    500: '#e8c552',
    950: '#000000',
  },
}
SCSS
$custom: #e8c552;
$custom-light: #f3d687;
$custom-dark: #000000;
JSON
{
  "hex": "#e8c552",
  "rgb": {
    "r": 232,
    "g": 197,
    "b": 82
  },
  "hsl": {
    "h": 46,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.83255,
    "c": 0.13751,
    "h": 92.1
  },
  "luminance": 0.57698
}

Semantic roles & 50–950 ramp

primary
#E8C552
secondary
#344FAB
accent
#3CD90D
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E8C552

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

Preview Lab → · Contrast checker → · Palette generator →

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