#E4C154#E4C154

#E4C154 is a very light, vivid yellow. Relative luminance 0.553; OKLCH L 82.1% C 0.133 H 91.4°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#E4C154
RGBrgb(228, 193, 84)
HSLhsl(45, 73%, 61%)
HSVhsv(45, 63%, 89%)
CMYKcmyk(0%, 15.4%, 63.2%, 10.6%)
CIE-LABlab(79.20, 0.33, 57.98)
CIE-LCHlch(79.20, 57.99, 89.67°)
OKLaboklab(82.09% -0.0031 0.1326)
OKLCHoklch(82.09% 0.133 91.4)
XYZxyz(52.6677, 55.2769, 16.2812)
Luminance0.5527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C154 #5477E4
analogous
#E47954 #E4C154 #BFE454
triadic
#E4C154 #54E4C1 #C154E4
tetradic
#E4C154 #54E479 #5477E4 #E454BF
square
#E4C154 #54E479 #5477E4 #E454BF
split-complementary
#E4C154 #54BFE4 #7954E4
monochromatic
#A4821A #D9AC22 #E4C154 #ECD489 #F5E7BE

Accessibility & contrast

On white

1.74
#E4C154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#E4C154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C154
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C154#FFFFFF#000000##000000
##E4C1541.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE48
Deuteranopia (green-blind)
#DDC859
Tritanopia (blue-blind)
#F5B3A9
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e4c154;
/* rgb */ color: rgb(228, 193, 84);
/* oklch */ color: oklch(82.1% 0.133 91.4);
Tailwind
colors: {
  custom: {
    50: '#f0d388',
    500: '#e4c154',
    950: '#000000',
  },
}
SCSS
$custom: #e4c154;
$custom-light: #f0d388;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c154",
  "rgb": {
    "r": 228,
    "g": 193,
    "b": 84
  },
  "hsl": {
    "h": 45.417,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.82091,
    "c": 0.13261,
    "h": 91.4
  },
  "luminance": 0.55274
}

Semantic roles & 50–950 ramp

primary
#E4C154
secondary
#3651A6
accent
#40D511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C154

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

Preview Lab → · Contrast checker → · Palette generator →

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