#E4C457#E4C457

#E4C457 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.7% C 0.132 H 92.9°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#E4C457
RGBrgb(228, 196, 87)
HSLhsl(46, 72%, 62%)
HSVhsv(46, 62%, 89%)
CMYKcmyk(0%, 14%, 61.8%, 10.6%)
CIE-LABlab(79.99, -1.03, 57.52)
CIE-LCHlch(79.99, 57.53, 91.02°)
OKLaboklab(82.72% -0.0067 0.132)
OKLCHoklch(82.72% 0.132 92.9)
XYZxyz(53.4576, 56.6647, 17.1366)
Luminance0.5666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C457 #5777E4
analogous
#E47E57 #E4C457 #BEE457
triadic
#E4C457 #57E4C4 #C457E4
tetradic
#E4C457 #57E47E #5777E4 #E457BE
square
#E4C457 #57E47E #5777E4 #E457BE
split-complementary
#E4C457 #57BEE4 #7E57E4
monochromatic
#A6861B #DBB123 #E4C457 #ECD78C #F5E9C0

Accessibility & contrast

On white

1.70
#E4C457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#E4C457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C457
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C457#FFFFFF#000000##000000
##E4C4571.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14B
Deuteranopia (green-blind)
#DFCA5C
Tritanopia (blue-blind)
#F5B6AC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e4c457;
/* rgb */ color: rgb(228, 196, 87);
/* oklch */ color: oklch(82.7% 0.132 92.9);
Tailwind
colors: {
  custom: {
    50: '#f0d58a',
    500: '#e4c457',
    950: '#000000',
  },
}
SCSS
$custom: #e4c457;
$custom-light: #f0d58a;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c457",
  "rgb": {
    "r": 228,
    "g": 196,
    "b": 87
  },
  "hsl": {
    "h": 46.383,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.82723,
    "c": 0.13217,
    "h": 92.9
  },
  "luminance": 0.56662
}

Semantic roles & 50–950 ramp

primary
#E4C457
secondary
#3751A8
accent
#3DD411
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C457

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

Preview Lab → · Contrast checker → · Palette generator →

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