#E5C757#E5C757

#E5C757 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.4% C 0.134 H 94.3°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#E5C757
RGBrgb(229, 199, 87)
HSLhsl(47, 73%, 62%)
HSVhsv(47, 62%, 90%)
CMYKcmyk(0%, 13.1%, 62%, 10.2%)
CIE-LABlab(80.85, -2.16, 58.49)
CIE-LCHlch(80.85, 58.53, 92.11°)
OKLaboklab(83.42% -0.01 0.134)
OKLCHoklch(83.42% 0.134 94.3)
XYZxyz(54.4593, 58.1957, 17.3793)
Luminance0.5819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C757 #5775E5
analogous
#E58057 #E5C757 #BCE557
triadic
#E5C757 #57E5C7 #C757E5
tetradic
#E5C757 #57E580 #5775E5 #E557BC
square
#E5C757 #57E580 #5775E5 #E557BC
split-complementary
#E5C757 #57BCE5 #8057E5
monochromatic
#A88A1A #DDB522 #E5C757 #EDD98C #F5EAC1

Accessibility & contrast

On white

1.66
#E5C757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#E5C757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C757
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C757#FFFFFF#000000##000000
##E5C7571.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC34B
Deuteranopia (green-blind)
#E2CD5C
Tritanopia (blue-blind)
#F6B9AF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e5c757;
/* rgb */ color: rgb(229, 199, 87);
/* oklch */ color: oklch(83.4% 0.134 94.3);
Tailwind
colors: {
  custom: {
    50: '#f0d78b',
    500: '#e5c757',
    950: '#000000',
  },
}
SCSS
$custom: #e5c757;
$custom-light: #f0d78b;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c757",
  "rgb": {
    "r": 229,
    "g": 199,
    "b": 87
  },
  "hsl": {
    "h": 47.324,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.83422,
    "c": 0.13442,
    "h": 94.3
  },
  "luminance": 0.58193
}

Semantic roles & 50–950 ramp

primary
#E5C757
secondary
#374FAA
accent
#3AD510
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E5C757

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

Preview Lab → · Contrast checker → · Palette generator →

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