#E5C04A#E5C04A

#E5C04A is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.9% C 0.140 H 91.4°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#E5C04A
RGBrgb(229, 192, 74)
HSLhsl(46, 75%, 59%)
HSVhsv(46, 68%, 90%)
CMYKcmyk(0%, 16.2%, 67.7%, 10.2%)
CIE-LABlab(78.96, 0.69, 62.05)
CIE-LCHlch(78.96, 62.05, 89.36°)
OKLaboklab(81.89% -0.0034 0.1396)
OKLCHoklch(81.89% 0.14 91.4)
XYZxyz(52.4015, 54.8547, 14.3052)
Luminance0.5485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C04A #4A6FE5
analogous
#E5724A #E5C04A #BDE54A
triadic
#E5C04A #4AE5C0 #C04AE5
tetradic
#E5C04A #4AE572 #4A6FE5 #E54ABD
square
#E5C04A #4AE572 #4A6FE5 #E54ABD
split-complementary
#E5C04A #4ABDE5 #724AE5
monochromatic
#9E7E17 #D3A81E #E5C04A #EDD380 #F4E5B5

Accessibility & contrast

On white

1.75
#E5C04A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#E5C04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C04A
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C04A#FFFFFF#000000##000000
##E5C04A1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD3B
Deuteranopia (green-blind)
#DDC850
Tritanopia (blue-blind)
#F7B1A7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e5c04a;
/* rgb */ color: rgb(229, 192, 74);
/* oklch */ color: oklch(81.9% 0.140 91.4);
Tailwind
colors: {
  custom: {
    50: '#f1d282',
    500: '#e5c04a',
    950: '#000000',
  },
}
SCSS
$custom: #e5c04a;
$custom-light: #f1d282;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c04a",
  "rgb": {
    "r": 229,
    "g": 192,
    "b": 74
  },
  "hsl": {
    "h": 45.677,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81894,
    "c": 0.13966,
    "h": 91.4
  },
  "luminance": 0.54852
}

Semantic roles & 50–950 ramp

primary
#E5C04A
secondary
#324DA1
accent
#63F136
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E5C04A

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

Preview Lab → · Contrast checker → · Palette generator →

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