#E4C757#E4C757

#E4C757 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.3% C 0.134 H 94.8°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#E4C757
RGBrgb(228, 199, 87)
HSLhsl(48, 72%, 62%)
HSVhsv(48, 62%, 89%)
CMYKcmyk(0%, 12.7%, 61.8%, 10.6%)
CIE-LABlab(80.76, -2.58, 58.36)
CIE-LCHlch(80.76, 58.42, 92.53°)
OKLaboklab(83.33% -0.0112 0.1338)
OKLCHoklch(83.33% 0.134 94.8)
XYZxyz(54.1410, 58.0316, 17.3644)
Luminance0.5803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C757 #5774E4
analogous
#E48157 #E4C757 #BAE457
triadic
#E4C757 #57E4C7 #C757E4
tetradic
#E4C757 #57E481 #5774E4 #E457BA
square
#E4C757 #57E481 #5774E4 #E457BA
split-complementary
#E4C757 #57BAE4 #8157E4
monochromatic
#A6891B #DBB523 #E4C757 #ECD98C #F5EAC0

Accessibility & contrast

On white

1.67
#E4C757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#E4C757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C757
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C757#FFFFFF#000000##000000
##E4C7571.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4c757;
/* rgb */ color: rgb(228, 199, 87);
/* oklch */ color: oklch(83.3% 0.134 94.8);
Tailwind
colors: {
  custom: {
    50: '#f0d78b',
    500: '#e4c757',
    950: '#000000',
  },
}
SCSS
$custom: #e4c757;
$custom-light: #f0d78b;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c757",
  "rgb": {
    "r": 228,
    "g": 199,
    "b": 87
  },
  "hsl": {
    "h": 47.66,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83328,
    "c": 0.13427,
    "h": 94.8
  },
  "luminance": 0.58029
}

Semantic roles & 50–950 ramp

primary
#E4C757
secondary
#374EA8
accent
#39D411
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C757

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

Preview Lab → · Contrast checker → · Palette generator →

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