#E4CC54#E4CC54

#E4CC54 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 84.3% C 0.140 H 98.0°. Best body text is #000000 at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#E4CC54
RGBrgb(228, 204, 84)
HSLhsl(50, 73%, 61%)
HSVhsv(50, 63%, 89%)
CMYKcmyk(0%, 10.5%, 63.2%, 10.6%)
CIE-LABlab(82.01, -5.33, 61.04)
CIE-LCHlch(82.01, 61.27, 94.99°)
OKLaboklab(84.32% -0.0194 0.1391)
OKLCHoklch(84.32% 0.14 98)
XYZxyz(55.1904, 60.3224, 17.1221)
Luminance0.6032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CC54 #546CE4
analogous
#E48454 #E4CC54 #B4E454
triadic
#E4CC54 #54E4CC #CC54E4
tetradic
#E4CC54 #54E484 #546CE4 #E454B4
square
#E4CC54 #54E484 #546CE4 #E454B4
split-complementary
#E4CC54 #54B4E4 #8454E4
monochromatic
#A48D1A #D9BA22 #E4CC54 #ECDC89 #F5ECBE

Accessibility & contrast

On white

1.61
#E4CC54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.06
#E4CC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CC54
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CC54#FFFFFF#000000##000000
##E4CC541.001.6113.0613.06
#FFFFFF1.611.0021.0021.00
#00000013.0621.001.001.00
##00000013.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC746
Deuteranopia (green-blind)
#E5D05A
Tritanopia (blue-blind)
#F5BEB3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e4cc54;
/* rgb */ color: rgb(228, 204, 84);
/* oklch */ color: oklch(84.3% 0.140 98.0);
Tailwind
colors: {
  custom: {
    50: '#f0db89',
    500: '#e4cc54',
    950: '#000000',
  },
}
SCSS
$custom: #e4cc54;
$custom-light: #f0db89;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cc54",
  "rgb": {
    "r": 228,
    "g": 204,
    "b": 84
  },
  "hsl": {
    "h": 50,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.84315,
    "c": 0.14041,
    "h": 98
  },
  "luminance": 0.6032
}

Semantic roles & 50–950 ramp

primary
#E4CC54
secondary
#3649A6
accent
#31D511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4CC54

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

Preview Lab → · Contrast checker → · Palette generator →

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