#E5C04E#E5C04E

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

Color values

HEX#E5C04E
RGBrgb(229, 192, 78)
HSLhsl(45, 74%, 60%)
HSVhsv(45, 66%, 90%)
CMYKcmyk(0%, 16.2%, 65.9%, 10.2%)
CIE-LABlab(78.99, 0.91, 60.40)
CIE-LCHlch(78.99, 60.40, 89.13°)
OKLaboklab(81.93% -0.0023 0.1368)
OKLCHoklch(81.93% 0.137 90.9)
XYZxyz(52.5406, 54.9103, 15.0376)
Luminance0.5491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C04E #4E73E5
analogous
#E5744E #E5C04E #BEE54E
triadic
#E5C04E #4EE5C0 #C04EE5
tetradic
#E5C04E #4EE574 #4E73E5 #E54EBE
square
#E5C04E #4EE574 #4E73E5 #E54EBE
split-complementary
#E5C04E #4EBEE5 #744EE5
monochromatic
#A17F18 #D6AA1F #E5C04E #EDD383 #F5E6B9

Accessibility & contrast

On white

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

On black

11.98
#E5C04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C04E
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C04E#FFFFFF#000000##000000
##E5C04E1.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD40
Deuteranopia (green-blind)
#DDC853
Tritanopia (blue-blind)
#F7B1A8
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e5c04e;
/* rgb */ color: rgb(229, 192, 78);
/* oklch */ color: oklch(81.9% 0.137 90.9);
Tailwind
colors: {
  custom: {
    50: '#f1d285',
    500: '#e5c04e',
    950: '#000000',
  },
}
SCSS
$custom: #e5c04e;
$custom-light: #f1d285;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c04e",
  "rgb": {
    "r": 229,
    "g": 192,
    "b": 78
  },
  "hsl": {
    "h": 45.298,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.8193,
    "c": 0.13679,
    "h": 90.9
  },
  "luminance": 0.54907
}

Semantic roles & 50–950 ramp

primary
#E5C04E
secondary
#344FA4
accent
#40D70F
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E5C04E

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

Preview Lab → · Contrast checker → · Palette generator →

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