#E4D858#E4D858

#E4D858 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.8% C 0.148 H 104.0°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#E4D858
RGBrgb(228, 216, 88)
HSLhsl(55, 72%, 62%)
HSVhsv(55, 61%, 89%)
CMYKcmyk(0%, 5.3%, 61.4%, 10.6%)
CIE-LABlab(85.16, -11.15, 62.73)
CIE-LCHlch(85.16, 63.71, 100.08°)
OKLaboklab(86.82% -0.0356 0.1432)
OKLCHoklch(86.82% 0.148 104)
XYZxyz(58.3144, 66.3124, 18.9585)
Luminance0.6631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D858 #5864E4
analogous
#E49258 #E4D858 #AAE458
triadic
#E4D858 #58E4D8 #D858E4
tetradic
#E4D858 #58E492 #5864E4 #E458AA
square
#E4D858 #58E492 #5864E4 #E458AA
split-complementary
#E4D858 #58AAE4 #9258E4
monochromatic
#A79B1B #DBCC23 #E4D858 #EDE48D #F5F1C1

Accessibility & contrast

On white

1.47
#E4D858 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.26
#E4D858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D858
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D858#FFFFFF#000000##000000
##E4D8581.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD149
Deuteranopia (green-blind)
#EED85F
Tritanopia (blue-blind)
#F4CABD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e4d858;
/* rgb */ color: rgb(228, 216, 88);
/* oklch */ color: oklch(86.8% 0.148 104.0);
Tailwind
colors: {
  custom: {
    50: '#f0e38c',
    500: '#e4d858',
    950: '#000000',
  },
}
SCSS
$custom: #e4d858;
$custom-light: #f0e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d858",
  "rgb": {
    "r": 228,
    "g": 216,
    "b": 88
  },
  "hsl": {
    "h": 54.857,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.86819,
    "c": 0.14757,
    "h": 104
  },
  "luminance": 0.6631
}

Semantic roles & 50–950 ramp

primary
#E4D858
secondary
#3741A9
accent
#22D411
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4D858

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

Preview Lab → · Contrast checker → · Palette generator →

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