#E1BC40#E1BC40

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

Color values

HEX#E1BC40
RGBrgb(225, 188, 64)
HSLhsl(46, 73%, 57%)
HSVhsv(46, 72%, 88%)
CMYKcmyk(0%, 16.4%, 71.6%, 11.8%)
CIE-LABlab(77.49, 0.56, 64.45)
CIE-LCHlch(77.49, 64.45, 89.50°)
OKLaboklab(80.62% -0.0047 0.1431)
OKLCHoklch(80.62% 0.143 91.9)
XYZxyz(49.9627, 52.3471, 12.3219)
Luminance0.5234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1BC40 #4065E1
analogous
#E16C40 #E1BC40 #B6E140
triadic
#E1BC40 #40E1BC #BC40E1
tetradic
#E1BC40 #40E16C #4065E1 #E140B6
square
#E1BC40 #40E16C #4065E1 #E140B6
split-complementary
#E1BC40 #40B6E1 #6C40E1
monochromatic
#907417 #C59F1F #E1BC40 #E9CF75 #F2E1AA

Accessibility & contrast

On white

1.83
#E1BC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#E1BC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1BC40
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1BC40#FFFFFF#000000##000000
##E1BC401.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92E
Deuteranopia (green-blind)
#DAC447
Tritanopia (blue-blind)
#F3ADA3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e1bc40;
/* rgb */ color: rgb(225, 188, 64);
/* oklch */ color: oklch(80.6% 0.143 91.9);
Tailwind
colors: {
  custom: {
    50: '#efcf7c',
    500: '#e1bc40',
    950: '#000000',
  },
}
SCSS
$custom: #e1bc40;
$custom-light: #efcf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#e1bc40",
  "rgb": {
    "r": 225,
    "g": 188,
    "b": 64
  },
  "hsl": {
    "h": 46.211,
    "s": 72.851,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80623,
    "c": 0.14317,
    "h": 91.9
  },
  "luminance": 0.52344
}

Semantic roles & 50–950 ramp

primary
#E1BC40
secondary
#304795
accent
#62F038
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #E1BC40

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

Preview Lab → · Contrast checker → · Palette generator →

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