#E4D758#E4D758

#E4D758 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.6% C 0.147 H 103.5°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#E4D758
RGBrgb(228, 215, 88)
HSLhsl(54, 72%, 62%)
HSVhsv(54, 61%, 89%)
CMYKcmyk(0%, 5.7%, 61.4%, 10.6%)
CIE-LABlab(84.90, -10.65, 62.44)
CIE-LCHlch(84.90, 63.35, 99.68°)
OKLaboklab(86.61% -0.0342 0.1426)
OKLCHoklch(86.61% 0.147 103.5)
XYZxyz(58.0589, 65.8016, 18.8733)
Luminance0.6580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D758 #5865E4
analogous
#E49158 #E4D758 #ABE458
triadic
#E4D758 #58E4D7 #D758E4
tetradic
#E4D758 #58E491 #5865E4 #E458AB
square
#E4D758 #58E491 #5865E4 #E458AB
split-complementary
#E4D758 #58ABE4 #9158E4
monochromatic
#A79A1B #DBCA23 #E4D758 #EDE48D #F5F0C1

Accessibility & contrast

On white

1.48
#E4D758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.16
#E4D758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D758
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D758#FFFFFF#000000##000000
##E4D7581.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D049
Deuteranopia (green-blind)
#EDD75F
Tritanopia (blue-blind)
#F4C9BC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e4d758;
/* rgb */ color: rgb(228, 215, 88);
/* oklch */ color: oklch(86.6% 0.147 103.5);
Tailwind
colors: {
  custom: {
    50: '#f0e38c',
    500: '#e4d758',
    950: '#000000',
  },
}
SCSS
$custom: #e4d758;
$custom-light: #f0e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d758",
  "rgb": {
    "r": 228,
    "g": 215,
    "b": 88
  },
  "hsl": {
    "h": 54.429,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.86612,
    "c": 0.14665,
    "h": 103.5
  },
  "luminance": 0.65799
}

Semantic roles & 50–950 ramp

primary
#E4D758
secondary
#3742A9
accent
#23D411
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4D758

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

Preview Lab → · Contrast checker → · Palette generator →

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