#E4C454#E4C454

#E4C454 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.7% C 0.135 H 93.3°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#E4C454
RGBrgb(228, 196, 84)
HSLhsl(47, 73%, 61%)
HSVhsv(47, 63%, 89%)
CMYKcmyk(0%, 14%, 63.2%, 10.6%)
CIE-LABlab(79.96, -1.22, 58.82)
CIE-LCHlch(79.96, 58.83, 91.19°)
OKLaboklab(82.69% -0.0076 0.1343)
OKLCHoklch(82.69% 0.135 93.3)
XYZxyz(53.3376, 56.6167, 16.5045)
Luminance0.5661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C454 #5474E4
analogous
#E47C54 #E4C454 #BCE454
triadic
#E4C454 #54E4C4 #C454E4
tetradic
#E4C454 #54E47C #5474E4 #E454BC
square
#E4C454 #54E47C #5474E4 #E454BC
split-complementary
#E4C454 #54BCE4 #7C54E4
monochromatic
#A4851A #D9B022 #E4C454 #ECD689 #F5E8BE

Accessibility & contrast

On white

1.70
#E4C454 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#E4C454 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C454
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C454#FFFFFF#000000##000000
##E4C4541.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C147
Deuteranopia (green-blind)
#DFCA59
Tritanopia (blue-blind)
#F5B6AC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e4c454;
/* rgb */ color: rgb(228, 196, 84);
/* oklch */ color: oklch(82.7% 0.135 93.3);
Tailwind
colors: {
  custom: {
    50: '#f0d589',
    500: '#e4c454',
    950: '#000000',
  },
}
SCSS
$custom: #e4c454;
$custom-light: #f0d589;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c454",
  "rgb": {
    "r": 228,
    "g": 196,
    "b": 84
  },
  "hsl": {
    "h": 46.667,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.82693,
    "c": 0.13456,
    "h": 93.3
  },
  "luminance": 0.56614
}

Semantic roles & 50–950 ramp

primary
#E4C454
secondary
#364FA6
accent
#3CD511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C454

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

Preview Lab → · Contrast checker → · Palette generator →

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