#E4C049#E4C049

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

Color values

HEX#E4C049
RGBrgb(228, 192, 73)
HSLhsl(46, 74%, 59%)
HSVhsv(46, 68%, 89%)
CMYKcmyk(0%, 15.8%, 68%, 10.6%)
CIE-LABlab(78.86, 0.21, 62.32)
CIE-LCHlch(78.86, 62.32, 89.81°)
OKLaboklab(81.79% -0.0048 0.1401)
OKLCHoklch(81.79% 0.14 92)
XYZxyz(52.0498, 54.6773, 14.1142)
Luminance0.5467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C049 #496DE4
analogous
#E47349 #E4C049 #BAE449
triadic
#E4C049 #49E4C0 #C049E4
tetradic
#E4C049 #49E473 #496DE4 #E449BA
square
#E4C049 #49E473 #496DE4 #E449BA
split-complementary
#E4C049 #49BAE4 #7349E4
monochromatic
#9C7D17 #D1A81F #E4C049 #ECD27E #F4E5B4

Accessibility & contrast

On white

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

On black

11.93
#E4C049 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C049
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C049#FFFFFF#000000##000000
##E4C0491.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD3A
Deuteranopia (green-blind)
#DDC84F
Tritanopia (blue-blind)
#F6B1A7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e4c049;
/* rgb */ color: rgb(228, 192, 73);
/* oklch */ color: oklch(81.8% 0.140 92.0);
Tailwind
colors: {
  custom: {
    50: '#f0d282',
    500: '#e4c049',
    950: '#000000',
  },
}
SCSS
$custom: #e4c049;
$custom-light: #f0d282;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c049",
  "rgb": {
    "r": 228,
    "g": 192,
    "b": 73
  },
  "hsl": {
    "h": 46.065,
    "s": 74.163,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81789,
    "c": 0.14016,
    "h": 92
  },
  "luminance": 0.54674
}

Semantic roles & 50–950 ramp

primary
#E4C049
secondary
#324C9F
accent
#62F137
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E4C049

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

Preview Lab → · Contrast checker → · Palette generator →

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