#E2BC3F#E2BC3F

#E2BC3F is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.7% C 0.144 H 91.5°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#E2BC3F
RGBrgb(226, 188, 63)
HSLhsl(46, 74%, 57%)
HSVhsv(46, 72%, 89%)
CMYKcmyk(0%, 16.8%, 72.1%, 11.4%)
CIE-LABlab(77.58, 0.94, 64.95)
CIE-LCHlch(77.58, 64.96, 89.17°)
OKLaboklab(80.71% -0.0037 0.1439)
OKLCHoklch(80.71% 0.144 91.5)
XYZxyz(50.2472, 52.4971, 12.1880)
Luminance0.5249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BC3F #3F65E2
analogous
#E26B3F #E2BC3F #B7E23F
triadic
#E2BC3F #3FE2BC #BC3FE2
tetradic
#E2BC3F #3FE26B #3F65E2 #E23FB7
square
#E2BC3F #3FE26B #3F65E2 #E23FB7
split-complementary
#E2BC3F #3FB7E2 #6B3FE2
monochromatic
#917416 #C69F1E #E2BC3F #EACF74 #F2E1A9

Accessibility & contrast

On white

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

On black

11.50
#E2BC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2BC3F
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2BC3F#FFFFFF#000000##000000
##E2BC3F1.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B92C
Deuteranopia (green-blind)
#DAC446
Tritanopia (blue-blind)
#F4ADA3
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #e2bc3f;
/* rgb */ color: rgb(226, 188, 63);
/* oklch */ color: oklch(80.7% 0.144 91.5);
Tailwind
colors: {
  custom: {
    50: '#efcf7c',
    500: '#e2bc3f',
    950: '#000000',
  },
}
SCSS
$custom: #e2bc3f;
$custom-light: #efcf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bc3f",
  "rgb": {
    "r": 226,
    "g": 188,
    "b": 63
  },
  "hsl": {
    "h": 46.012,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80713,
    "c": 0.14399,
    "h": 91.5
  },
  "luminance": 0.52494
}

Semantic roles & 50–950 ramp

primary
#E2BC3F
secondary
#304796
accent
#63F037
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #E2BC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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