#E4C657#E4C657

#E4C657 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 83.1% C 0.134 H 94.2°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#E4C657
RGBrgb(228, 198, 87)
HSLhsl(47, 72%, 62%)
HSVhsv(47, 62%, 89%)
CMYKcmyk(0%, 13.2%, 61.8%, 10.6%)
CIE-LABlab(80.50, -2.06, 58.08)
CIE-LCHlch(80.50, 58.12, 92.03°)
OKLaboklab(83.13% -0.0097 0.1332)
OKLCHoklch(83.13% 0.134 94.2)
XYZxyz(53.9117, 57.5730, 17.2880)
Luminance0.5757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C657 #5775E4
analogous
#E48057 #E4C657 #BCE457
triadic
#E4C657 #57E4C6 #C657E4
tetradic
#E4C657 #57E480 #5775E4 #E457BC
square
#E4C657 #57E480 #5775E4 #E457BC
split-complementary
#E4C657 #57BCE4 #8057E4
monochromatic
#A6881B #DBB423 #E4C657 #ECD88C #F5EAC0

Accessibility & contrast

On white

1.68
#E4C657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.51
#E4C657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C657
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C657#FFFFFF#000000##000000
##E4C6571.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C24B
Deuteranopia (green-blind)
#E1CC5C
Tritanopia (blue-blind)
#F5B8AE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e4c657;
/* rgb */ color: rgb(228, 198, 87);
/* oklch */ color: oklch(83.1% 0.134 94.2);
Tailwind
colors: {
  custom: {
    50: '#f0d78b',
    500: '#e4c657',
    950: '#000000',
  },
}
SCSS
$custom: #e4c657;
$custom-light: #f0d78b;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c657",
  "rgb": {
    "r": 228,
    "g": 198,
    "b": 87
  },
  "hsl": {
    "h": 47.234,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83126,
    "c": 0.13355,
    "h": 94.2
  },
  "luminance": 0.5757
}

Semantic roles & 50–950 ramp

primary
#E4C657
secondary
#374FA8
accent
#3BD411
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C657

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

Preview Lab → · Contrast checker → · Palette generator →

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