#E4D54D#E4D54D

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

Color values

HEX#E4D54D
RGBrgb(228, 213, 77)
HSLhsl(54, 74%, 60%)
HSVhsv(54, 66%, 89%)
CMYKcmyk(0%, 6.6%, 66.2%, 10.6%)
CIE-LABlab(84.29, -10.31, 66.32)
CIE-LCHlch(84.29, 67.11, 98.83°)
OKLaboklab(86.1% -0.0344 0.1492)
OKLCHoklch(86.1% 0.153 103)
XYZxyz(57.1310, 64.6206, 16.4834)
Luminance0.6462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D54D #4D5CE4
analogous
#E48A4D #E4D54D #A7E44D
triadic
#E4D54D #4DE4D5 #D54DE4
tetradic
#E4D54D #4DE48A #4D5CE4 #E44DA7
square
#E4D54D #4DE48A #4D5CE4 #E44DA7
split-complementary
#E4D54D #4DA7E4 #8A4DE4
monochromatic
#9F9118 #D4C220 #E4D54D #ECE282 #F4EEB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4D54D#FFFFFF#000000##000000
##E4D54D1.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)
#E8CE3B
Deuteranopia (green-blind)
#ECD555
Tritanopia (blue-blind)
#F5C7B9
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e4d54d;
/* rgb */ color: rgb(228, 213, 77);
/* oklch */ color: oklch(86.1% 0.153 103.0);
Tailwind
colors: {
  custom: {
    50: '#f0e186',
    500: '#e4d54d',
    950: '#000000',
  },
}
SCSS
$custom: #e4d54d;
$custom-light: #f0e186;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d54d",
  "rgb": {
    "r": 228,
    "g": 213,
    "b": 77
  },
  "hsl": {
    "h": 54.04,
    "s": 73.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.86102,
    "c": 0.15308,
    "h": 103
  },
  "luminance": 0.64618
}

Semantic roles & 50–950 ramp

primary
#E4D54D
secondary
#343FA2
accent
#4AF037
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4D54D

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

Preview Lab → · Contrast checker → · Palette generator →

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