#E4C048#E4C048

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

Color values

HEX#E4C048
RGBrgb(228, 192, 72)
HSLhsl(46, 74%, 59%)
HSVhsv(46, 68%, 89%)
CMYKcmyk(0%, 15.8%, 68.4%, 10.6%)
CIE-LABlab(78.85, 0.16, 62.73)
CIE-LCHlch(78.85, 62.73, 89.86°)
OKLaboklab(81.78% -0.0051 0.1408)
OKLCHoklch(81.78% 0.141 92.1)
XYZxyz(52.0170, 54.6641, 13.9410)
Luminance0.5466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C048 #486CE4
analogous
#E47248 #E4C048 #BAE448
triadic
#E4C048 #48E4C0 #C048E4
tetradic
#E4C048 #48E472 #486CE4 #E448BA
square
#E4C048 #48E472 #486CE4 #E448BA
split-complementary
#E4C048 #48BAE4 #7248E4
monochromatic
#9B7C17 #D0A71F #E4C048 #ECD27D #F4E5B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4C048#FFFFFF#000000##000000
##E4C0481.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)
#D4BD38
Deuteranopia (green-blind)
#DDC84E
Tritanopia (blue-blind)
#F6B1A7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e4c048;
/* rgb */ color: rgb(228, 192, 72);
/* oklch */ color: oklch(81.8% 0.141 92.1);
Tailwind
colors: {
  custom: {
    50: '#f0d281',
    500: '#e4c048',
    950: '#000000',
  },
}
SCSS
$custom: #e4c048;
$custom-light: #f0d281;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c048",
  "rgb": {
    "r": 228,
    "g": 192,
    "b": 72
  },
  "hsl": {
    "h": 46.154,
    "s": 74.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.8178,
    "c": 0.14085,
    "h": 92.1
  },
  "luminance": 0.54661
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E4C048

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

Preview Lab → · Contrast checker → · Palette generator →

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