#E4C157#E4C157

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

Color values

HEX#E4C157
RGBrgb(228, 193, 87)
HSLhsl(45, 72%, 62%)
HSVhsv(45, 62%, 89%)
CMYKcmyk(0%, 15.4%, 61.8%, 10.6%)
CIE-LABlab(79.23, 0.53, 56.68)
CIE-LCHlch(79.23, 56.68, 89.47°)
OKLaboklab(82.12% -0.0022 0.1302)
OKLCHoklch(82.12% 0.13 91)
XYZxyz(52.7877, 55.3249, 16.9133)
Luminance0.5532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C157 #577AE4
analogous
#E47A57 #E4C157 #C1E457
triadic
#E4C157 #57E4C1 #C157E4
tetradic
#E4C157 #57E47A #577AE4 #E457C1
square
#E4C157 #57E47A #577AE4 #E457C1
split-complementary
#E4C157 #57C1E4 #7A57E4
monochromatic
#A6831B #DBAD23 #E4C157 #ECD48C #F5E8C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4C157#FFFFFF#000000##000000
##E4C1571.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)
#D4BE4C
Deuteranopia (green-blind)
#DDC85C
Tritanopia (blue-blind)
#F5B3AA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e4c157;
/* rgb */ color: rgb(228, 193, 87);
/* oklch */ color: oklch(82.1% 0.130 91.0);
Tailwind
colors: {
  custom: {
    50: '#f0d38a',
    500: '#e4c157',
    950: '#000000',
  },
}
SCSS
$custom: #e4c157;
$custom-light: #f0d38a;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c157",
  "rgb": {
    "r": 228,
    "g": 193,
    "b": 87
  },
  "hsl": {
    "h": 45.106,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.82121,
    "c": 0.13022,
    "h": 91
  },
  "luminance": 0.55322
}

Semantic roles & 50–950 ramp

primary
#E4C157
secondary
#3753A8
accent
#42D411
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C157

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

Preview Lab → · Contrast checker → · Palette generator →

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