#E4C856#E4C856

#E4C856 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.5% C 0.136 H 95.5°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#E4C856
RGBrgb(228, 200, 86)
HSLhsl(48, 72%, 62%)
HSVhsv(48, 62%, 89%)
CMYKcmyk(0%, 12.3%, 62.3%, 10.6%)
CIE-LABlab(81.00, -3.16, 59.07)
CIE-LCHlch(81.00, 59.16, 93.06°)
OKLaboklab(83.52% -0.013 0.1352)
OKLCHoklch(83.52% 0.136 95.5)
XYZxyz(54.3313, 58.4771, 17.2277)
Luminance0.5847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C856 #5672E4
analogous
#E48156 #E4C856 #B9E456
triadic
#E4C856 #56E4C8 #C856E4
tetradic
#E4C856 #56E481 #5672E4 #E456B9
square
#E4C856 #56E481 #5672E4 #E456B9
split-complementary
#E4C856 #56B9E4 #8156E4
monochromatic
#A58A1A #DAB623 #E4C856 #ECD98B #F5EAC0

Accessibility & contrast

On white

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

On black

12.69
#E4C856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C856
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C856#FFFFFF#000000##000000
##E4C8561.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC449
Deuteranopia (green-blind)
#E2CD5B
Tritanopia (blue-blind)
#F5BAAF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e4c856;
/* rgb */ color: rgb(228, 200, 86);
/* oklch */ color: oklch(83.5% 0.136 95.5);
Tailwind
colors: {
  custom: {
    50: '#f0d88a',
    500: '#e4c856',
    950: '#000000',
  },
}
SCSS
$custom: #e4c856;
$custom-light: #f0d88a;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c856",
  "rgb": {
    "r": 228,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 48.169,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.83521,
    "c": 0.13579,
    "h": 95.5
  },
  "luminance": 0.58474
}

Semantic roles & 50–950 ramp

primary
#E4C856
secondary
#374DA7
accent
#38D511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C856

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

Preview Lab → · Contrast checker → · Palette generator →

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