#E5C856#E5C856

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

Color values

HEX#E5C856
RGBrgb(229, 200, 86)
HSLhsl(48, 73%, 62%)
HSVhsv(48, 62%, 90%)
CMYKcmyk(0%, 12.7%, 62.4%, 10.2%)
CIE-LABlab(81.09, -2.74, 59.20)
CIE-LCHlch(81.09, 59.26, 92.65°)
OKLaboklab(83.61% -0.0118 0.1354)
OKLCHoklch(83.61% 0.136 95)
XYZxyz(54.6495, 58.6412, 17.2426)
Luminance0.5864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C856 #5673E5
analogous
#E58156 #E5C856 #BBE556
triadic
#E5C856 #56E5C8 #C856E5
tetradic
#E5C856 #56E581 #5673E5 #E556BB
square
#E5C856 #56E581 #5673E5 #E556BB
split-complementary
#E5C856 #56BBE5 #8156E5
monochromatic
#A78A1A #DCB622 #E5C856 #EDD98B #F5EBC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E5C856#FFFFFF#000000##000000
##E5C8561.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)
#DBC449
Deuteranopia (green-blind)
#E2CD5B
Tritanopia (blue-blind)
#F6BAAF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e5c856;
/* rgb */ color: rgb(229, 200, 86);
/* oklch */ color: oklch(83.6% 0.136 95.0);
Tailwind
colors: {
  custom: {
    50: '#f0d88a',
    500: '#e5c856',
    950: '#000000',
  },
}
SCSS
$custom: #e5c856;
$custom-light: #f0d88a;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c856",
  "rgb": {
    "r": 229,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 47.832,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83614,
    "c": 0.13593,
    "h": 95
  },
  "luminance": 0.58638
}

Semantic roles & 50–950 ramp

primary
#E5C856
secondary
#364EA9
accent
#38D510
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E5C856

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

Preview Lab → · Contrast checker → · Palette generator →

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