#E5C857#E5C857

#E5C857 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.6% C 0.135 H 94.9°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#E5C857
RGBrgb(229, 200, 87)
HSLhsl(48, 73%, 62%)
HSVhsv(48, 62%, 90%)
CMYKcmyk(0%, 12.7%, 62%, 10.2%)
CIE-LABlab(81.10, -2.67, 58.77)
CIE-LCHlch(81.10, 58.83, 92.61°)
OKLaboklab(83.62% -0.0115 0.1346)
OKLCHoklch(83.62% 0.135 94.9)
XYZxyz(54.6901, 58.6574, 17.4563)
Luminance0.5866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C857 #5774E5
analogous
#E58157 #E5C857 #BBE557
triadic
#E5C857 #57E5C8 #C857E5
tetradic
#E5C857 #57E581 #5774E5 #E557BB
square
#E5C857 #57E581 #5774E5 #E557BB
split-complementary
#E5C857 #57BBE5 #8157E5
monochromatic
#A88B1A #DDB722 #E5C857 #EDD98C #F5EBC1

Accessibility & contrast

On white

1.65
#E5C857 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#E5C857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C857
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C857#FFFFFF#000000##000000
##E5C8571.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5c857;
/* rgb */ color: rgb(229, 200, 87);
/* oklch */ color: oklch(83.6% 0.135 94.9);
Tailwind
colors: {
  custom: {
    50: '#f0d88b',
    500: '#e5c857',
    950: '#000000',
  },
}
SCSS
$custom: #e5c857;
$custom-light: #f0d88b;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c857",
  "rgb": {
    "r": 229,
    "g": 200,
    "b": 87
  },
  "hsl": {
    "h": 47.746,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.83624,
    "c": 0.13513,
    "h": 94.9
  },
  "luminance": 0.58655
}

Semantic roles & 50–950 ramp

primary
#E5C857
secondary
#374EAA
accent
#38D510
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E5C857

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

Preview Lab → · Contrast checker → · Palette generator →

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