#E1BF42#E1BF42

#E1BF42 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 81.2% C 0.144 H 93.4°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#E1BF42
RGBrgb(225, 191, 66)
HSLhsl(47, 73%, 57%)
HSVhsv(47, 71%, 88%)
CMYKcmyk(0%, 15.1%, 70.7%, 11.8%)
CIE-LABlab(78.27, -0.90, 64.44)
CIE-LCHlch(78.27, 64.45, 90.80°)
OKLaboklab(81.24% -0.0086 0.1435)
OKLCHoklch(81.24% 0.144 93.4)
XYZxyz(50.6682, 53.6654, 12.8429)
Luminance0.5366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1BF42 #4264E1
analogous
#E17042 #E1BF42 #B3E142
triadic
#E1BF42 #42E1BF #BF42E1
tetradic
#E1BF42 #42E170 #4264E1 #E142B3
square
#E1BF42 #42E170 #4264E1 #E142B3
split-complementary
#E1BF42 #42B3E1 #7042E1
monochromatic
#927717 #C6A31F #E1BF42 #E9D177 #F2E3AC

Accessibility & contrast

On white

1.79
#E1BF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#E1BF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1BF42
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1BF42#FFFFFF#000000##000000
##E1BF421.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC30
Deuteranopia (green-blind)
#DCC649
Tritanopia (blue-blind)
#F3B0A6
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #e1bf42;
/* rgb */ color: rgb(225, 191, 66);
/* oklch */ color: oklch(81.2% 0.144 93.4);
Tailwind
colors: {
  custom: {
    50: '#eed17e',
    500: '#e1bf42',
    950: '#000000',
  },
}
SCSS
$custom: #e1bf42;
$custom-light: #eed17e;
$custom-dark: #000000;
JSON
{
  "hex": "#e1bf42",
  "rgb": {
    "r": 225,
    "g": 191,
    "b": 66
  },
  "hsl": {
    "h": 47.17,
    "s": 72.603,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81242,
    "c": 0.14371,
    "h": 93.4
  },
  "luminance": 0.53663
}

Semantic roles & 50–950 ramp

primary
#E1BF42
secondary
#314796
accent
#60EF38
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #E1BF42

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

Preview Lab → · Contrast checker → · Palette generator →

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