#E4C04D#E4C04D

#E4C04D is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.8% C 0.137 H 91.5°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#E4C04D
RGBrgb(228, 192, 77)
HSLhsl(46, 74%, 60%)
HSVhsv(46, 66%, 89%)
CMYKcmyk(0%, 15.8%, 66.2%, 10.6%)
CIE-LABlab(78.89, 0.43, 60.68)
CIE-LCHlch(78.89, 60.68, 89.59°)
OKLaboklab(81.82% -0.0037 0.1373)
OKLCHoklch(81.82% 0.137 91.5)
XYZxyz(52.1868, 54.7320, 14.8353)
Luminance0.5473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C04D #4D71E4
analogous
#E4744D #E4C04D #BDE44D
triadic
#E4C04D #4DE4C0 #C04DE4
tetradic
#E4C04D #4DE474 #4D71E4 #E44DBD
square
#E4C04D #4DE474 #4D71E4 #E44DBD
split-complementary
#E4C04D #4DBDE4 #744DE4
monochromatic
#9F7E18 #D4A920 #E4C04D #ECD382 #F4E6B7

Accessibility & contrast

On white

1.76
#E4C04D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#E4C04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C04D
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C04D#FFFFFF#000000##000000
##E4C04D1.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD3F
Deuteranopia (green-blind)
#DDC852
Tritanopia (blue-blind)
#F6B1A8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e4c04d;
/* rgb */ color: rgb(228, 192, 77);
/* oklch */ color: oklch(81.8% 0.137 91.5);
Tailwind
colors: {
  custom: {
    50: '#f0d284',
    500: '#e4c04d',
    950: '#000000',
  },
}
SCSS
$custom: #e4c04d;
$custom-light: #f0d284;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c04d",
  "rgb": {
    "r": 228,
    "g": 192,
    "b": 77
  },
  "hsl": {
    "h": 45.695,
    "s": 73.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.81824,
    "c": 0.1373,
    "h": 91.5
  },
  "luminance": 0.54729
}

Semantic roles & 50–950 ramp

primary
#E4C04D
secondary
#344EA2
accent
#64F037
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E4C04D

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

Preview Lab → · Contrast checker → · Palette generator →

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