#E3BB40#E3BB40

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

Color values

HEX#E3BB40
RGBrgb(227, 187, 64)
HSLhsl(45, 74%, 57%)
HSVhsv(45, 72%, 89%)
CMYKcmyk(0%, 17.6%, 71.8%, 11%)
CIE-LABlab(77.43, 1.94, 64.45)
CIE-LCHlch(77.43, 64.48, 88.28°)
OKLaboklab(80.62% -0.0008 0.143)
OKLCHoklch(80.62% 0.143 90.3)
XYZxyz(50.3771, 52.2448, 12.2803)
Luminance0.5224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E3BB40 #4068E3
analogous
#E36A40 #E3BB40 #BAE340
triadic
#E3BB40 #40E3BB #BB40E3
tetradic
#E3BB40 #40E36A #4068E3 #E340BA
square
#E3BB40 #40E36A #4068E3 #E340BA
split-complementary
#E3BB40 #40BAE3 #6A40E3
monochromatic
#937416 #C89E1D #E3BB40 #EBCE75 #F3E1AB

Accessibility & contrast

On white

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

On black

11.45
#E3BB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E3BB40
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E3BB40#FFFFFF#000000##000000
##E3BB401.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e3bb40;
/* rgb */ color: rgb(227, 187, 64);
/* oklch */ color: oklch(80.6% 0.143 90.3);
Tailwind
colors: {
  custom: {
    50: '#f0cf7c',
    500: '#e3bb40',
    950: '#000000',
  },
}
SCSS
$custom: #e3bb40;
$custom-light: #f0cf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#e3bb40",
  "rgb": {
    "r": 227,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 45.276,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80619,
    "c": 0.14302,
    "h": 90.3
  },
  "luminance": 0.52242
}

Semantic roles & 50–950 ramp

primary
#E3BB40
secondary
#304997
accent
#64F137
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #E3BB40

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

Preview Lab → · Contrast checker → · Palette generator →

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