#E5C456#E5C456

#E5C456 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.8% C 0.133 H 92.5°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#E5C456
RGBrgb(229, 196, 86)
HSLhsl(46, 73%, 62%)
HSVhsv(46, 62%, 90%)
CMYKcmyk(0%, 14.4%, 62.4%, 10.2%)
CIE-LABlab(80.07, -0.67, 58.08)
CIE-LCHlch(80.07, 58.09, 90.67°)
OKLaboklab(82.81% -0.0059 0.133)
OKLCHoklch(82.81% 0.133 92.5)
XYZxyz(53.7353, 56.8126, 16.9378)
Luminance0.5681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C456 #5677E5
analogous
#E57D56 #E5C456 #BEE556
triadic
#E5C456 #56E5C4 #C456E5
tetradic
#E5C456 #56E57D #5677E5 #E556BE
square
#E5C456 #56E57D #5677E5 #E556BE
split-complementary
#E5C456 #56BEE5 #7D56E5
monochromatic
#A7861A #DCB122 #E5C456 #EDD78B #F5E9C0

Accessibility & contrast

On white

1.70
#E5C456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#E5C456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C456
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C456#FFFFFF#000000##000000
##E5C4561.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14A
Deuteranopia (green-blind)
#E0CB5B
Tritanopia (blue-blind)
#F6B6AC
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e5c456;
/* rgb */ color: rgb(229, 196, 86);
/* oklch */ color: oklch(82.8% 0.133 92.5);
Tailwind
colors: {
  custom: {
    50: '#f1d58a',
    500: '#e5c456',
    950: '#000000',
  },
}
SCSS
$custom: #e5c456;
$custom-light: #f1d58a;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c456",
  "rgb": {
    "r": 229,
    "g": 196,
    "b": 86
  },
  "hsl": {
    "h": 46.154,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.82808,
    "c": 0.13316,
    "h": 92.5
  },
  "luminance": 0.5681
}

Semantic roles & 50–950 ramp

primary
#E5C456
secondary
#3651A9
accent
#3ED510
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E5C456

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

Preview Lab → · Contrast checker → · Palette generator →

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