#E4C557#E4C557

#E4C557 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.9% C 0.133 H 93.5°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#E4C557
RGBrgb(228, 197, 87)
HSLhsl(47, 72%, 62%)
HSVhsv(47, 62%, 89%)
CMYKcmyk(0%, 13.6%, 61.8%, 10.6%)
CIE-LABlab(80.25, -1.55, 57.80)
CIE-LCHlch(80.25, 57.82, 91.53°)
OKLaboklab(82.93% -0.0082 0.1326)
OKLCHoklch(82.93% 0.133 93.5)
XYZxyz(53.6839, 57.1174, 17.2120)
Luminance0.5712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C557 #5776E4
analogous
#E47F57 #E4C557 #BCE457
triadic
#E4C557 #57E4C5 #C557E4
tetradic
#E4C557 #57E47F #5776E4 #E457BC
square
#E4C557 #57E47F #5776E4 #E457BC
split-complementary
#E4C557 #57BCE4 #7F57E4
monochromatic
#A6871B #DBB223 #E4C557 #ECD78C #F5E9C0

Accessibility & contrast

On white

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

On black

12.42
#E4C557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C557
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C557#FFFFFF#000000##000000
##E4C5571.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24B
Deuteranopia (green-blind)
#E0CB5C
Tritanopia (blue-blind)
#F5B7AD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e4c557;
/* rgb */ color: rgb(228, 197, 87);
/* oklch */ color: oklch(82.9% 0.133 93.5);
Tailwind
colors: {
  custom: {
    50: '#f0d68a',
    500: '#e4c557',
    950: '#000000',
  },
}
SCSS
$custom: #e4c557;
$custom-light: #f0d68a;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c557",
  "rgb": {
    "r": 228,
    "g": 197,
    "b": 87
  },
  "hsl": {
    "h": 46.809,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.82925,
    "c": 0.13285,
    "h": 93.5
  },
  "luminance": 0.57115
}

Semantic roles & 50–950 ramp

primary
#E4C557
secondary
#3750A8
accent
#3CD411
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C557

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

Preview Lab → · Contrast checker → · Palette generator →

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