#E4CD54#E4CD54

#E4CD54 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.5% C 0.141 H 98.5°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#E4CD54
RGBrgb(228, 205, 84)
HSLhsl(50, 73%, 61%)
HSVhsv(50, 63%, 89%)
CMYKcmyk(0%, 10.1%, 63.2%, 10.6%)
CIE-LABlab(82.27, -5.84, 61.31)
CIE-LCHlch(82.27, 61.59, 95.44°)
OKLaboklab(84.52% -0.0209 0.1397)
OKLCHoklch(84.52% 0.141 98.5)
XYZxyz(55.4288, 60.7992, 17.2016)
Luminance0.6080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CD54 #546BE4
analogous
#E48554 #E4CD54 #B3E454
triadic
#E4CD54 #54E4CD #CD54E4
tetradic
#E4CD54 #54E485 #546BE4 #E454B3
square
#E4CD54 #54E485 #546BE4 #E454B3
split-complementary
#E4CD54 #54B3E4 #8554E4
monochromatic
#A48E1A #D9BB22 #E4CD54 #ECDC89 #F5ECBE

Accessibility & contrast

On white

1.60
#E4CD54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#E4CD54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CD54
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CD54#FFFFFF#000000##000000
##E4CD541.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C846
Deuteranopia (green-blind)
#E6D05A
Tritanopia (blue-blind)
#F5BFB3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e4cd54;
/* rgb */ color: rgb(228, 205, 84);
/* oklch */ color: oklch(84.5% 0.141 98.5);
Tailwind
colors: {
  custom: {
    50: '#f0db89',
    500: '#e4cd54',
    950: '#000000',
  },
}
SCSS
$custom: #e4cd54;
$custom-light: #f0db89;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cd54",
  "rgb": {
    "r": 228,
    "g": 205,
    "b": 84
  },
  "hsl": {
    "h": 50.417,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.84519,
    "c": 0.14121,
    "h": 98.5
  },
  "luminance": 0.60797
}

Semantic roles & 50–950 ramp

primary
#E4CD54
secondary
#3648A6
accent
#30D511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4CD54

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

Preview Lab → · Contrast checker → · Palette generator →

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