#E4C857#E4C857

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

Color values

HEX#E4C857
RGBrgb(228, 200, 87)
HSLhsl(48, 72%, 62%)
HSVhsv(48, 62%, 89%)
CMYKcmyk(0%, 12.3%, 61.8%, 10.6%)
CIE-LABlab(81.01, -3.09, 58.64)
CIE-LCHlch(81.01, 58.73, 93.02°)
OKLaboklab(83.53% -0.0127 0.1344)
OKLCHoklch(83.53% 0.135 95.4)
XYZxyz(54.3719, 58.4933, 17.4414)
Luminance0.5849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C857 #5773E4
analogous
#E48257 #E4C857 #BAE457
triadic
#E4C857 #57E4C8 #C857E4
tetradic
#E4C857 #57E482 #5773E4 #E457BA
square
#E4C857 #57E482 #5773E4 #E457BA
split-complementary
#E4C857 #57BAE4 #8257E4
monochromatic
#A68A1B #DBB623 #E4C857 #ECD98C #F5EBC0

Accessibility & contrast

On white

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

On black

12.70
#E4C857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C857
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C857#FFFFFF#000000##000000
##E4C8571.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44B
Deuteranopia (green-blind)
#E2CD5C
Tritanopia (blue-blind)
#F5BAB0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e4c857;
/* rgb */ color: rgb(228, 200, 87);
/* oklch */ color: oklch(83.5% 0.135 95.4);
Tailwind
colors: {
  custom: {
    50: '#f0d88b',
    500: '#e4c857',
    950: '#000000',
  },
}
SCSS
$custom: #e4c857;
$custom-light: #f0d88b;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c857",
  "rgb": {
    "r": 228,
    "g": 200,
    "b": 87
  },
  "hsl": {
    "h": 48.085,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83531,
    "c": 0.13499,
    "h": 95.4
  },
  "luminance": 0.58491
}

Semantic roles & 50–950 ramp

primary
#E4C857
secondary
#374EA8
accent
#38D411
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C857

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

Preview Lab → · Contrast checker → · Palette generator →

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