#E4C050#E4C050

#E4C050 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.9% C 0.135 H 91.2°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#E4C050
RGBrgb(228, 192, 80)
HSLhsl(45, 73%, 60%)
HSVhsv(45, 65%, 89%)
CMYKcmyk(0%, 15.8%, 64.9%, 10.6%)
CIE-LABlab(78.91, 0.61, 59.42)
CIE-LCHlch(78.91, 59.43, 89.41°)
OKLaboklab(81.85% -0.0028 0.135)
OKLCHoklch(81.85% 0.135 91.2)
XYZxyz(52.2951, 54.7754, 15.4061)
Luminance0.5477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C050 #5074E4
analogous
#E47650 #E4C050 #BEE450
triadic
#E4C050 #50E4C0 #C050E4
tetradic
#E4C050 #50E476 #5074E4 #E450BE
square
#E4C050 #50E476 #5074E4 #E450BE
split-complementary
#E4C050 #50BEE4 #7650E4
monochromatic
#A18019 #D6AA21 #E4C050 #ECD385 #F4E6BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4C050#FFFFFF#000000##000000
##E4C0501.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)
#D4BD43
Deuteranopia (green-blind)
#DDC855
Tritanopia (blue-blind)
#F6B1A8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e4c050;
/* rgb */ color: rgb(228, 192, 80);
/* oklch */ color: oklch(81.9% 0.135 91.2);
Tailwind
colors: {
  custom: {
    50: '#f0d286',
    500: '#e4c050',
    950: '#000000',
  },
}
SCSS
$custom: #e4c050;
$custom-light: #f0d286;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c050",
  "rgb": {
    "r": 228,
    "g": 192,
    "b": 80
  },
  "hsl": {
    "h": 45.405,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.81852,
    "c": 0.13507,
    "h": 91.2
  },
  "luminance": 0.54772
}

Semantic roles & 50–950 ramp

primary
#E4C050
secondary
#3550A4
accent
#40D510
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E4C050

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

Preview Lab → · Contrast checker → · Palette generator →

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