#E1BA45#E1BA45

#E1BA45 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 80.3% C 0.139 H 90.2°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#E1BA45
RGBrgb(225, 186, 69)
HSLhsl(45, 72%, 58%)
HSVhsv(45, 69%, 88%)
CMYKcmyk(0%, 17.3%, 69.3%, 11.8%)
CIE-LABlab(77.02, 1.85, 61.98)
CIE-LCHlch(77.02, 62.01, 88.29°)
OKLaboklab(80.26% -0.0004 0.1388)
OKLCHoklch(80.26% 0.139 90.2)
XYZxyz(49.6871, 51.5580, 12.9637)
Luminance0.5155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1BA45 #456CE1
analogous
#E16C45 #E1BA45 #BAE145
triadic
#E1BA45 #45E1BA #BA45E1
tetradic
#E1BA45 #45E16C #456CE1 #E145BA
square
#E1BA45 #45E16C #456CE1 #E145BA
split-complementary
#E1BA45 #45BAE1 #6C45E1
monochromatic
#947518 #C89E20 #E1BA45 #E9CE7A #F2E1AE

Accessibility & contrast

On white

1.86
#E1BA45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#E1BA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1BA45
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1BA45#FFFFFF#000000##000000
##E1BA451.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB835
Deuteranopia (green-blind)
#D8C34B
Tritanopia (blue-blind)
#F3ABA2
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #e1ba45;
/* rgb */ color: rgb(225, 186, 69);
/* oklch */ color: oklch(80.3% 0.139 90.2);
Tailwind
colors: {
  custom: {
    50: '#eece7f',
    500: '#e1ba45',
    950: '#000000',
  },
}
SCSS
$custom: #e1ba45;
$custom-light: #eece7f;
$custom-dark: #000000;
JSON
{
  "hex": "#e1ba45",
  "rgb": {
    "r": 225,
    "g": 186,
    "b": 69
  },
  "hsl": {
    "h": 45,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80262,
    "c": 0.13877,
    "h": 90.2
  },
  "luminance": 0.51555
}

Semantic roles & 50–950 ramp

primary
#E1BA45
secondary
#324C98
accent
#66EF39
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #E1BA45

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

Preview Lab → · Contrast checker → · Palette generator →

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