#E4C858#E4C858

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

Color values

HEX#E4C858
RGBrgb(228, 200, 88)
HSLhsl(48, 72%, 62%)
HSVhsv(48, 61%, 89%)
CMYKcmyk(0%, 12.3%, 61.4%, 10.6%)
CIE-LABlab(81.02, -3.03, 58.21)
CIE-LCHlch(81.02, 58.29, 92.98°)
OKLaboklab(83.54% -0.0124 0.1336)
OKLCHoklch(83.54% 0.134 95.3)
XYZxyz(54.4130, 58.5098, 17.6580)
Luminance0.5851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C858 #5874E4
analogous
#E48258 #E4C858 #BAE458
triadic
#E4C858 #58E4C8 #C858E4
tetradic
#E4C858 #58E482 #5874E4 #E458BA
square
#E4C858 #58E482 #5874E4 #E458BA
split-complementary
#E4C858 #58BAE4 #8258E4
monochromatic
#A78B1B #DBB723 #E4C858 #EDD98D #F5EBC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4C858#FFFFFF#000000##000000
##E4C8581.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)
#DBC44C
Deuteranopia (green-blind)
#E2CD5D
Tritanopia (blue-blind)
#F5BAB0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e4c858;
/* rgb */ color: rgb(228, 200, 88);
/* oklch */ color: oklch(83.5% 0.134 95.3);
Tailwind
colors: {
  custom: {
    50: '#f0d88b',
    500: '#e4c858',
    950: '#000000',
  },
}
SCSS
$custom: #e4c858;
$custom-light: #f0d88b;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c858",
  "rgb": {
    "r": 228,
    "g": 200,
    "b": 88
  },
  "hsl": {
    "h": 48,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.83541,
    "c": 0.13418,
    "h": 95.3
  },
  "luminance": 0.58507
}

Semantic roles & 50–950 ramp

primary
#E4C858
secondary
#374EA9
accent
#38D411
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C858

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

Preview Lab → · Contrast checker → · Palette generator →

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