#E3BF3A#E3BF3A

#E3BF3A is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.4% C 0.149 H 93.2°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#E3BF3A
RGBrgb(227, 191, 58)
HSLhsl(47, 75%, 56%)
HSVhsv(47, 74%, 89%)
CMYKcmyk(0%, 15.9%, 74.4%, 11%)
CIE-LABlab(78.40, -0.41, 67.64)
CIE-LCHlch(78.40, 67.64, 90.35°)
OKLaboklab(81.38% -0.0082 0.1487)
OKLCHoklch(81.38% 0.149 93.2)
XYZxyz(51.0759, 53.9010, 11.7159)
Luminance0.5390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E3BF3A #3A5EE3
analogous
#E36A3A #E3BF3A #B2E33A
triadic
#E3BF3A #3AE3BF #BF3AE3
tetradic
#E3BF3A #3AE36A #3A5EE3 #E33AB2
square
#E3BF3A #3AE36A #3A5EE3 #E33AB2
split-complementary
#E3BF3A #3AB2E3 #6A3AE3
monochromatic
#8E7414 #C4A01C #E3BF3A #EBD070 #F2E2A5

Accessibility & contrast

On white

1.78
#E3BF3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#E3BF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E3BF3A
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E3BF3A#FFFFFF#000000##000000
##E3BF3A1.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC23
Deuteranopia (green-blind)
#DDC642
Tritanopia (blue-blind)
#F5AFA5
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #e3bf3a;
/* rgb */ color: rgb(227, 191, 58);
/* oklch */ color: oklch(81.4% 0.149 93.2);
Tailwind
colors: {
  custom: {
    50: '#f0d179',
    500: '#e3bf3a',
    950: '#000000',
  },
}
SCSS
$custom: #e3bf3a;
$custom-light: #f0d179;
$custom-dark: #000000;
JSON
{
  "hex": "#e3bf3a",
  "rgb": {
    "r": 227,
    "g": 191,
    "b": 58
  },
  "hsl": {
    "h": 47.219,
    "s": 75.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81378,
    "c": 0.14888,
    "h": 93.2
  },
  "luminance": 0.53898
}

Semantic roles & 50–950 ramp

primary
#E3BF3A
secondary
#2E4393
accent
#5EF236
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #E3BF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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