#E4C156#E4C156

#E4C156 is a very light, vivid yellow. Relative luminance 0.553; OKLCH L 82.1% C 0.131 H 91.1°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#E4C156
RGBrgb(228, 193, 86)
HSLhsl(45, 72%, 62%)
HSVhsv(45, 62%, 89%)
CMYKcmyk(0%, 15.4%, 62.3%, 10.6%)
CIE-LABlab(79.22, 0.46, 57.11)
CIE-LCHlch(79.22, 57.12, 89.54°)
OKLaboklab(82.11% -0.0025 0.131)
OKLCHoklch(82.11% 0.131 91.1)
XYZxyz(52.7471, 55.3087, 16.6996)
Luminance0.5531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C156 #5679E4
analogous
#E47A56 #E4C156 #C0E456
triadic
#E4C156 #56E4C1 #C156E4
tetradic
#E4C156 #56E47A #5679E4 #E456C0
square
#E4C156 #56E47A #5679E4 #E456C0
split-complementary
#E4C156 #56C0E4 #7A56E4
monochromatic
#A5831A #DAAD23 #E4C156 #ECD48B #F5E8C0

Accessibility & contrast

On white

1.74
#E4C156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#E4C156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C156
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C156#FFFFFF#000000##000000
##E4C1561.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4A
Deuteranopia (green-blind)
#DDC85B
Tritanopia (blue-blind)
#F5B3AA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e4c156;
/* rgb */ color: rgb(228, 193, 86);
/* oklch */ color: oklch(82.1% 0.131 91.1);
Tailwind
colors: {
  custom: {
    50: '#f0d38a',
    500: '#e4c156',
    950: '#000000',
  },
}
SCSS
$custom: #e4c156;
$custom-light: #f0d38a;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c156",
  "rgb": {
    "r": 228,
    "g": 193,
    "b": 86
  },
  "hsl": {
    "h": 45.211,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.82111,
    "c": 0.13102,
    "h": 91.1
  },
  "luminance": 0.55306
}

Semantic roles & 50–950 ramp

primary
#E4C156
secondary
#3753A7
accent
#41D511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C156

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

Preview Lab → · Contrast checker → · Palette generator →

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