#E8C452#E8C452

#E8C452 is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 83.1% C 0.137 H 91.5°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#E8C452
RGBrgb(232, 196, 82)
HSLhsl(46, 77%, 62%)
HSVhsv(46, 65%, 91%)
CMYKcmyk(0%, 15.5%, 64.7%, 9%)
CIE-LABlab(80.32, 0.34, 60.18)
CIE-LCHlch(80.32, 60.18, 89.68°)
OKLaboklab(83.06% -0.0036 0.1368)
OKLCHoklch(83.06% 0.137 91.5)
XYZxyz(54.5443, 57.2479, 16.1580)
Luminance0.5725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8C452 #5276E8
analogous
#E87952 #E8C452 #C1E852
triadic
#E8C452 #52E8C4 #C452E8
tetradic
#E8C452 #52E879 #5276E8 #E852C1
square
#E8C452 #52E879 #5276E8 #E852C1
split-complementary
#E8C452 #52C1E8 #7952E8
monochromatic
#A98616 #DFB11E #E8C452 #EFD688 #F6E9BE

Accessibility & contrast

On white

1.69
#E8C452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.45
#E8C452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8C452
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8C452#FFFFFF#000000##000000
##E8C4521.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C145
Deuteranopia (green-blind)
#E1CC57
Tritanopia (blue-blind)
#FAB5AC
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e8c452;
/* rgb */ color: rgb(232, 196, 82);
/* oklch */ color: oklch(83.1% 0.137 91.5);
Tailwind
colors: {
  custom: {
    50: '#f3d587',
    500: '#e8c452',
    950: '#000000',
  },
}
SCSS
$custom: #e8c452;
$custom-light: #f3d587;
$custom-dark: #000000;
JSON
{
  "hex": "#e8c452",
  "rgb": {
    "r": 232,
    "g": 196,
    "b": 82
  },
  "hsl": {
    "h": 45.6,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.83055,
    "c": 0.13689,
    "h": 91.5
  },
  "luminance": 0.57245
}

Semantic roles & 50–950 ramp

primary
#E8C452
secondary
#3450AB
accent
#3ED90D
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E8C452

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

Preview Lab → · Contrast checker → · Palette generator →

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