#E3BA3F#E3BA3F

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

Color values

HEX#E3BA3F
RGBrgb(227, 186, 63)
HSLhsl(45, 75%, 57%)
HSVhsv(45, 72%, 89%)
CMYKcmyk(0%, 18.1%, 72.2%, 11%)
CIE-LABlab(77.17, 2.41, 64.58)
CIE-LCHlch(77.17, 64.63, 87.86°)
OKLaboklab(80.41% 0.0004 0.1431)
OKLCHoklch(80.41% 0.143 89.8)
XYZxyz(50.1375, 51.8107, 12.0613)
Luminance0.5181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E3BA3F #3F68E3
analogous
#E3683F #E3BA3F #BAE33F
triadic
#E3BA3F #3FE3BA #BA3FE3
tetradic
#E3BA3F #3FE368 #3F68E3 #E33FBA
square
#E3BA3F #3FE368 #3F68E3 #E33FBA
split-complementary
#E3BA3F #3FBAE3 #683FE3
monochromatic
#927315 #C89D1D #E3BA3F #EBCD74 #F3E0AA

Accessibility & contrast

On white

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

On black

11.36
#E3BA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E3BA3F
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E3BA3F#FFFFFF#000000##000000
##E3BA3F1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82C
Deuteranopia (green-blind)
#D9C345
Tritanopia (blue-blind)
#F6AAA1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e3ba3f;
/* rgb */ color: rgb(227, 186, 63);
/* oklch */ color: oklch(80.4% 0.143 89.8);
Tailwind
colors: {
  custom: {
    50: '#f0ce7c',
    500: '#e3ba3f',
    950: '#000000',
  },
}
SCSS
$custom: #e3ba3f;
$custom-light: #f0ce7c;
$custom-dark: #000000;
JSON
{
  "hex": "#e3ba3f",
  "rgb": {
    "r": 227,
    "g": 186,
    "b": 63
  },
  "hsl": {
    "h": 45,
    "s": 74.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80413,
    "c": 0.14311,
    "h": 89.8
  },
  "luminance": 0.51808
}

Semantic roles & 50–950 ramp

primary
#E3BA3F
secondary
#2F4997
accent
#65F137
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #E3BA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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