#E5C048#E5C048

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

Color values

HEX#E5C048
RGBrgb(229, 192, 72)
HSLhsl(46, 75%, 59%)
HSVhsv(46, 69%, 90%)
CMYKcmyk(0%, 16.2%, 68.6%, 10.2%)
CIE-LABlab(78.94, 0.58, 62.85)
CIE-LCHlch(78.94, 62.86, 89.47°)
OKLaboklab(81.88% -0.0039 0.141)
OKLCHoklch(81.88% 0.141 91.6)
XYZxyz(52.3352, 54.8282, 13.9560)
Luminance0.5483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C048 #486DE5
analogous
#E57248 #E5C048 #BCE548
triadic
#E5C048 #48E5C0 #C048E5
tetradic
#E5C048 #48E572 #486DE5 #E548BC
square
#E5C048 #48E572 #486DE5 #E548BC
split-complementary
#E5C048 #48BCE5 #7248E5
monochromatic
#9C7D16 #D2A81E #E5C048 #EDD27E #F4E5B3

Accessibility & contrast

On white

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

On black

11.97
#E5C048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C048
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C048#FFFFFF#000000##000000
##E5C0481.001.7611.9711.97
#FFFFFF1.761.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD38
Deuteranopia (green-blind)
#DDC84E
Tritanopia (blue-blind)
#F7B1A7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e5c048;
/* rgb */ color: rgb(229, 192, 72);
/* oklch */ color: oklch(81.9% 0.141 91.6);
Tailwind
colors: {
  custom: {
    50: '#f1d281',
    500: '#e5c048',
    950: '#000000',
  },
}
SCSS
$custom: #e5c048;
$custom-light: #f1d281;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c048",
  "rgb": {
    "r": 229,
    "g": 192,
    "b": 72
  },
  "hsl": {
    "h": 45.86,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81877,
    "c": 0.14105,
    "h": 91.6
  },
  "luminance": 0.54825
}

Semantic roles & 50–950 ramp

primary
#E5C048
secondary
#324CA0
accent
#62F236
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E5C048

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

Preview Lab → · Contrast checker → · Palette generator →

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