#E5C145#E5C145

#E5C145 is a very light, vivid yellow. Relative luminance 0.552; OKLCH L 82.1% C 0.144 H 92.5°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#E5C145
RGBrgb(229, 193, 69)
HSLhsl(47, 75%, 58%)
HSVhsv(47, 70%, 90%)
CMYKcmyk(0%, 15.7%, 69.9%, 10.2%)
CIE-LABlab(79.17, -0.09, 64.30)
CIE-LCHlch(79.17, 64.30, 90.08°)
OKLaboklab(82.05% -0.0062 0.1435)
OKLCHoklch(82.05% 0.144 92.5)
XYZxyz(52.4600, 55.2306, 13.5265)
Luminance0.5523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C145 #4569E5
analogous
#E57145 #E5C145 #B9E545
triadic
#E5C145 #45E5C1 #C145E5
tetradic
#E5C145 #45E571 #4569E5 #E545B9
square
#E5C145 #45E571 #4569E5 #E545B9
split-complementary
#E5C145 #45B9E5 #7145E5
monochromatic
#9A7C16 #D0A81D #E5C145 #EDD37B #F4E5B0

Accessibility & contrast

On white

1.74
#E5C145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#E5C145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C145
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C145#FFFFFF#000000##000000
##E5C1451.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE34
Deuteranopia (green-blind)
#DEC94B
Tritanopia (blue-blind)
#F7B2A8
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e5c145;
/* rgb */ color: rgb(229, 193, 69);
/* oklch */ color: oklch(82.1% 0.144 92.5);
Tailwind
colors: {
  custom: {
    50: '#f1d380',
    500: '#e5c145',
    950: '#000000',
  },
}
SCSS
$custom: #e5c145;
$custom-light: #f1d380;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c145",
  "rgb": {
    "r": 229,
    "g": 193,
    "b": 69
  },
  "hsl": {
    "h": 46.5,
    "s": 75.472,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82053,
    "c": 0.14366,
    "h": 92.5
  },
  "luminance": 0.55228
}

Semantic roles & 50–950 ramp

primary
#E5C145
secondary
#31499E
accent
#60F236
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E5C145

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

Preview Lab → · Contrast checker → · Palette generator →

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