#E1BA3F#E1BA3F

#E1BA3F is a light, vivid yellow. Relative luminance 0.515; OKLCH L 80.2% C 0.143 H 90.8°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#E1BA3F
RGBrgb(225, 186, 63)
HSLhsl(46, 73%, 56%)
HSVhsv(46, 72%, 88%)
CMYKcmyk(0%, 17.3%, 72%, 11.8%)
CIE-LABlab(76.97, 1.56, 64.32)
CIE-LCHlch(76.97, 64.34, 88.61°)
OKLaboklab(80.22% -0.0019 0.1427)
OKLCHoklch(80.22% 0.143 90.8)
XYZxyz(49.5102, 51.4873, 12.0319)
Luminance0.5148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1BA3F #3F66E1
analogous
#E1693F #E1BA3F #B7E13F
triadic
#E1BA3F #3FE1BA #BA3FE1
tetradic
#E1BA3F #3FE169 #3F66E1 #E13FB7
square
#E1BA3F #3FE169 #3F66E1 #E13FB7
split-complementary
#E1BA3F #3FB7E1 #693FE1
monochromatic
#8F7216 #C49C1F #E1BA3F #E9CD74 #F2E0A9

Accessibility & contrast

On white

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

On black

11.30
#E1BA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1BA3F
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1BA3F#FFFFFF#000000##000000
##E1BA3F1.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82D
Deuteranopia (green-blind)
#D8C345
Tritanopia (blue-blind)
#F3ABA1
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #e1ba3f;
/* rgb */ color: rgb(225, 186, 63);
/* oklch */ color: oklch(80.2% 0.143 90.8);
Tailwind
colors: {
  custom: {
    50: '#efce7b',
    500: '#e1ba3f',
    950: '#000000',
  },
}
SCSS
$custom: #e1ba3f;
$custom-light: #efce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#e1ba3f",
  "rgb": {
    "r": 225,
    "g": 186,
    "b": 63
  },
  "hsl": {
    "h": 45.556,
    "s": 72.973,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80215,
    "c": 0.14266,
    "h": 90.8
  },
  "luminance": 0.51484
}

Semantic roles & 50–950 ramp

primary
#E1BA3F
secondary
#304894
accent
#64F038
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #E1BA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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