#E4D54B#E4D54B

#E4D54B is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 86.1% C 0.154 H 103.1°. Best body text is #000000 at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#E4D54B
RGBrgb(228, 213, 75)
HSLhsl(54, 74%, 59%)
HSVhsv(54, 67%, 89%)
CMYKcmyk(0%, 6.6%, 67.1%, 10.6%)
CIE-LABlab(84.27, -10.41, 67.09)
CIE-LCHlch(84.27, 67.89, 98.82°)
OKLaboklab(86.09% -0.0349 0.1505)
OKLCHoklch(86.09% 0.154 103.1)
XYZxyz(57.0615, 64.5928, 16.1172)
Luminance0.6459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D54B #4B5AE4
analogous
#E4894B #E4D54B #A6E44B
triadic
#E4D54B #4BE4D5 #D54BE4
tetradic
#E4D54B #4BE489 #4B5AE4 #E44BA6
square
#E4D54B #4BE489 #4B5AE4 #E44BA6
split-complementary
#E4D54B #4BA6E4 #894BE4
monochromatic
#9D9018 #D2C120 #E4D54B #ECE180 #F4EEB5

Accessibility & contrast

On white

1.51
#E4D54B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.92
#E4D54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D54B
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D54B#FFFFFF#000000##000000
##E4D54B1.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE38
Deuteranopia (green-blind)
#ECD553
Tritanopia (blue-blind)
#F5C7B9
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e4d54b;
/* rgb */ color: rgb(228, 213, 75);
/* oklch */ color: oklch(86.1% 0.154 103.1);
Tailwind
colors: {
  custom: {
    50: '#f0e185',
    500: '#e4d54b',
    950: '#000000',
  },
}
SCSS
$custom: #e4d54b;
$custom-light: #f0e185;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d54b",
  "rgb": {
    "r": 228,
    "g": 213,
    "b": 75
  },
  "hsl": {
    "h": 54.118,
    "s": 73.913,
    "l": 59.412
  },
  "oklch": {
    "l": 0.86086,
    "c": 0.15448,
    "h": 103.1
  },
  "luminance": 0.6459
}

Semantic roles & 50–950 ramp

primary
#E4D54B
secondary
#333EA0
accent
#49F137
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E4D54B

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

Preview Lab → · Contrast checker → · Palette generator →

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