#E4C256#E4C256

#E4C256 is a very light, vivid yellow. Relative luminance 0.557; OKLCH L 82.3% C 0.132 H 91.8°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#E4C256
RGBrgb(228, 194, 86)
HSLhsl(46, 72%, 62%)
HSVhsv(46, 62%, 89%)
CMYKcmyk(0%, 14.9%, 62.3%, 10.6%)
CIE-LABlab(79.47, -0.06, 57.39)
CIE-LCHlch(79.47, 57.39, 90.06°)
OKLaboklab(82.31% -0.004 0.1316)
OKLCHoklch(82.31% 0.132 91.8)
XYZxyz(52.9689, 55.7523, 16.7736)
Luminance0.5575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C256 #5678E4
analogous
#E47B56 #E4C256 #BFE456
triadic
#E4C256 #56E4C2 #C256E4
tetradic
#E4C256 #56E47B #5678E4 #E456BF
square
#E4C256 #56E47B #5678E4 #E456BF
split-complementary
#E4C256 #56BFE4 #7B56E4
monochromatic
#A5841A #DAAE23 #E4C256 #ECD58B #F5E8C0

Accessibility & contrast

On white

1.73
#E4C256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#E4C256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C256
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C256#FFFFFF#000000##000000
##E4C2561.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4A
Deuteranopia (green-blind)
#DEC95B
Tritanopia (blue-blind)
#F5B4AB
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e4c256;
/* rgb */ color: rgb(228, 194, 86);
/* oklch */ color: oklch(82.3% 0.132 91.8);
Tailwind
colors: {
  custom: {
    50: '#f0d48a',
    500: '#e4c256',
    950: '#000000',
  },
}
SCSS
$custom: #e4c256;
$custom-light: #f0d48a;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c256",
  "rgb": {
    "r": 228,
    "g": 194,
    "b": 86
  },
  "hsl": {
    "h": 45.634,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.82311,
    "c": 0.13166,
    "h": 91.8
  },
  "luminance": 0.55749
}

Semantic roles & 50–950 ramp

primary
#E4C256
secondary
#3752A7
accent
#40D511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C256

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

Preview Lab → · Contrast checker → · Palette generator →

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