#E2BC42#E2BC42

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

Color values

HEX#E2BC42
RGBrgb(226, 188, 66)
HSLhsl(46, 73%, 57%)
HSVhsv(46, 71%, 89%)
CMYKcmyk(0%, 16.8%, 70.8%, 11.4%)
CIE-LABlab(77.60, 1.08, 63.81)
CIE-LCHlch(77.60, 63.82, 89.03°)
OKLaboklab(80.74% -0.003 0.1421)
OKLCHoklch(80.74% 0.142 91.2)
XYZxyz(50.3334, 52.5315, 12.6417)
Luminance0.5253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BC42 #4268E2
analogous
#E26C42 #E2BC42 #B8E242
triadic
#E2BC42 #42E2BC #BC42E2
tetradic
#E2BC42 #42E26C #4268E2 #E242B8
square
#E2BC42 #42E26C #4268E2 #E242B8
split-complementary
#E2BC42 #42B8E2 #6C42E2
monochromatic
#937517 #C8A01F #E2BC42 #EACF77 #F2E2AC

Accessibility & contrast

On white

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

On black

11.51
#E2BC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2BC42
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2BC42#FFFFFF#000000##000000
##E2BC421.001.8311.5111.51
#FFFFFF1.831.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2bc42;
/* rgb */ color: rgb(226, 188, 66);
/* oklch */ color: oklch(80.7% 0.142 91.2);
Tailwind
colors: {
  custom: {
    50: '#efcf7d',
    500: '#e2bc42',
    950: '#000000',
  },
}
SCSS
$custom: #e2bc42;
$custom-light: #efcf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bc42",
  "rgb": {
    "r": 226,
    "g": 188,
    "b": 66
  },
  "hsl": {
    "h": 45.75,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80736,
    "c": 0.14209,
    "h": 91.2
  },
  "luminance": 0.52529
}

Semantic roles & 50–950 ramp

primary
#E2BC42
secondary
#314998
accent
#64F038
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #E2BC42

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

Preview Lab → · Contrast checker → · Palette generator →

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