#E4C656#E4C656

#E4C656 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 83.1% C 0.134 H 94.3°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#E4C656
RGBrgb(228, 198, 86)
HSLhsl(47, 72%, 62%)
HSVhsv(47, 62%, 89%)
CMYKcmyk(0%, 13.2%, 62.3%, 10.6%)
CIE-LABlab(80.49, -2.13, 58.51)
CIE-LCHlch(80.49, 58.55, 92.08°)
OKLaboklab(83.12% -0.01 0.134)
OKLCHoklch(83.12% 0.134 94.3)
XYZxyz(53.8712, 57.5568, 17.0743)
Luminance0.5755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C656 #5674E4
analogous
#E47F56 #E4C656 #BBE456
triadic
#E4C656 #56E4C6 #C656E4
tetradic
#E4C656 #56E47F #5674E4 #E456BB
square
#E4C656 #56E47F #5674E4 #E456BB
split-complementary
#E4C656 #56BBE4 #7F56E4
monochromatic
#A5881A #DAB323 #E4C656 #ECD88B #F5EAC0

Accessibility & contrast

On white

1.68
#E4C656 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.51
#E4C656 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C656
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C656#FFFFFF#000000##000000
##E4C6561.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C24A
Deuteranopia (green-blind)
#E1CC5B
Tritanopia (blue-blind)
#F5B8AE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e4c656;
/* rgb */ color: rgb(228, 198, 86);
/* oklch */ color: oklch(83.1% 0.134 94.3);
Tailwind
colors: {
  custom: {
    50: '#f0d78a',
    500: '#e4c656',
    950: '#000000',
  },
}
SCSS
$custom: #e4c656;
$custom-light: #f0d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c656",
  "rgb": {
    "r": 228,
    "g": 198,
    "b": 86
  },
  "hsl": {
    "h": 47.324,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.83116,
    "c": 0.13435,
    "h": 94.3
  },
  "luminance": 0.57554
}

Semantic roles & 50–950 ramp

primary
#E4C656
secondary
#374FA7
accent
#3AD511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C656

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

Preview Lab → · Contrast checker → · Palette generator →

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