#E4C956#E4C956

#E4C956 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.7% C 0.137 H 96.1°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#E4C956
RGBrgb(228, 201, 86)
HSLhsl(49, 72%, 62%)
HSVhsv(49, 62%, 89%)
CMYKcmyk(0%, 11.8%, 62.3%, 10.6%)
CIE-LABlab(81.26, -3.67, 59.35)
CIE-LCHlch(81.26, 59.47, 93.54°)
OKLaboklab(83.72% -0.0144 0.1358)
OKLCHoklch(83.72% 0.137 96.1)
XYZxyz(54.5637, 58.9418, 17.3051)
Luminance0.5894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C956 #5671E4
analogous
#E48256 #E4C956 #B8E456
triadic
#E4C956 #56E4C9 #C956E4
tetradic
#E4C956 #56E482 #5671E4 #E456B8
square
#E4C956 #56E482 #5671E4 #E456B8
split-complementary
#E4C956 #56B8E4 #8256E4
monochromatic
#A58B1A #DAB723 #E4C956 #ECDA8B #F5EBC0

Accessibility & contrast

On white

1.64
#E4C956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#E4C956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C956
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C956#FFFFFF#000000##000000
##E4C9561.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC549
Deuteranopia (green-blind)
#E3CE5C
Tritanopia (blue-blind)
#F5BBB0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e4c956;
/* rgb */ color: rgb(228, 201, 86);
/* oklch */ color: oklch(83.7% 0.137 96.1);
Tailwind
colors: {
  custom: {
    50: '#f0d98a',
    500: '#e4c956',
    950: '#000000',
  },
}
SCSS
$custom: #e4c956;
$custom-light: #f0d98a;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c956",
  "rgb": {
    "r": 228,
    "g": 201,
    "b": 86
  },
  "hsl": {
    "h": 48.592,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.83724,
    "c": 0.13654,
    "h": 96.1
  },
  "luminance": 0.58939
}

Semantic roles & 50–950 ramp

primary
#E4C956
secondary
#374CA7
accent
#36D511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C956

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

Preview Lab → · Contrast checker → · Palette generator →

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