#E5C045#E5C045

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

Color values

HEX#E5C045
RGBrgb(229, 192, 69)
HSLhsl(46, 75%, 58%)
HSVhsv(46, 70%, 90%)
CMYKcmyk(0%, 16.2%, 69.9%, 10.2%)
CIE-LABlab(78.92, 0.43, 64.04)
CIE-LCHlch(78.92, 64.04, 89.62°)
OKLaboklab(81.85% -0.0047 0.143)
OKLCHoklch(81.85% 0.143 91.9)
XYZxyz(52.2397, 54.7900, 13.4531)
Luminance0.5479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C045 #456AE5
analogous
#E57045 #E5C045 #BAE545
triadic
#E5C045 #45E5C0 #C045E5
tetradic
#E5C045 #45E570 #456AE5 #E545BA
square
#E5C045 #45E570 #456AE5 #E545BA
split-complementary
#E5C045 #45BAE5 #7045E5
monochromatic
#9A7B16 #D0A61D #E5C045 #EDD27B #F4E4B0

Accessibility & contrast

On white

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

On black

11.96
#E5C045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C045
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C045#FFFFFF#000000##000000
##E5C0451.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5c045;
/* rgb */ color: rgb(229, 192, 69);
/* oklch */ color: oklch(81.9% 0.143 91.9);
Tailwind
colors: {
  custom: {
    50: '#f1d27f',
    500: '#e5c045',
    950: '#000000',
  },
}
SCSS
$custom: #e5c045;
$custom-light: #f1d27f;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c045",
  "rgb": {
    "r": 229,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 46.125,
    "s": 75.472,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81853,
    "c": 0.14307,
    "h": 91.9
  },
  "luminance": 0.54787
}

Semantic roles & 50–950 ramp

primary
#E5C045
secondary
#314A9E
accent
#61F236
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E5C045

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

Preview Lab → · Contrast checker → · Palette generator →

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