#E2BC3E#E2BC3E

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

Color values

HEX#E2BC3E
RGBrgb(226, 188, 62)
HSLhsl(46, 74%, 56%)
HSVhsv(46, 73%, 89%)
CMYKcmyk(0%, 16.8%, 72.6%, 11.4%)
CIE-LABlab(77.57, 0.90, 65.33)
CIE-LCHlch(77.57, 65.33, 89.21°)
OKLaboklab(80.71% -0.004 0.1446)
OKLCHoklch(80.71% 0.145 91.6)
XYZxyz(50.2195, 52.4860, 12.0422)
Luminance0.5248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BC3E #3E64E2
analogous
#E26A3E #E2BC3E #B6E23E
triadic
#E2BC3E #3EE2BC #BC3EE2
tetradic
#E2BC3E #3EE26A #3E64E2 #E23EB6
square
#E2BC3E #3EE26A #3E64E2 #E23EB6
split-complementary
#E2BC3E #3EB6E2 #6A3EE2
monochromatic
#907416 #C59E1E #E2BC3E #EACE73 #F2E1A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2BC3E#FFFFFF#000000##000000
##E2BC3E1.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)
#D1B92A
Deuteranopia (green-blind)
#DAC445
Tritanopia (blue-blind)
#F4ADA3
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #e2bc3e;
/* rgb */ color: rgb(226, 188, 62);
/* oklch */ color: oklch(80.7% 0.145 91.6);
Tailwind
colors: {
  custom: {
    50: '#efcf7b',
    500: '#e2bc3e',
    950: '#000000',
  },
}
SCSS
$custom: #e2bc3e;
$custom-light: #efcf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bc3e",
  "rgb": {
    "r": 226,
    "g": 188,
    "b": 62
  },
  "hsl": {
    "h": 46.098,
    "s": 73.874,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80706,
    "c": 0.1446,
    "h": 91.6
  },
  "luminance": 0.52483
}

Semantic roles & 50–950 ramp

primary
#E2BC3E
secondary
#2F4795
accent
#62F137
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #E2BC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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