#E3BA3A#E3BA3A

#E3BA3A is a light, vivid yellow. Relative luminance 0.518; OKLCH L 80.4% C 0.146 H 90.3°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#E3BA3A
RGBrgb(227, 186, 58)
HSLhsl(45, 75%, 56%)
HSVhsv(45, 74%, 89%)
CMYKcmyk(0%, 18.1%, 74.4%, 11%)
CIE-LABlab(77.14, 2.19, 66.43)
CIE-LCHlch(77.14, 66.47, 88.11°)
OKLaboklab(80.38% -0.0007 0.1461)
OKLCHoklch(80.38% 0.146 90.3)
XYZxyz(50.0041, 51.7573, 11.3586)
Luminance0.5175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E3BA3A #3A63E3
analogous
#E3653A #E3BA3A #B7E33A
triadic
#E3BA3A #3AE3BA #BA3AE3
tetradic
#E3BA3A #3AE365 #3A63E3 #E33AB7
square
#E3BA3A #3AE365 #3A63E3 #E33AB7
split-complementary
#E3BA3A #3AB7E3 #653AE3
monochromatic
#8E7114 #C49B1C #E3BA3A #EBCD70 #F2E0A5

Accessibility & contrast

On white

1.85
#E3BA3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#E3BA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E3BA3A
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E3BA3A#FFFFFF#000000##000000
##E3BA3A1.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB824
Deuteranopia (green-blind)
#D9C341
Tritanopia (blue-blind)
#F6AAA1
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #e3ba3a;
/* rgb */ color: rgb(227, 186, 58);
/* oklch */ color: oklch(80.4% 0.146 90.3);
Tailwind
colors: {
  custom: {
    50: '#f0ce79',
    500: '#e3ba3a',
    950: '#000000',
  },
}
SCSS
$custom: #e3ba3a;
$custom-light: #f0ce79;
$custom-dark: #000000;
JSON
{
  "hex": "#e3ba3a",
  "rgb": {
    "r": 227,
    "g": 186,
    "b": 58
  },
  "hsl": {
    "h": 45.444,
    "s": 75.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80377,
    "c": 0.14608,
    "h": 90.3
  },
  "luminance": 0.51754
}

Semantic roles & 50–950 ramp

primary
#E3BA3A
secondary
#2E4693
accent
#64F236
background
#FFFEFB
surface
#FFFAF1
border
#D7D3CB
text
#17130A
muted
#85837D

Preview Lab

Preview with #E3BA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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