#E2BC4A#E2BC4A

#E2BC4A is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.8% C 0.137 H 90.4°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#E2BC4A
RGBrgb(226, 188, 74)
HSLhsl(45, 72%, 59%)
HSVhsv(45, 67%, 89%)
CMYKcmyk(0%, 16.8%, 67.3%, 11.4%)
CIE-LABlab(77.66, 1.50, 60.60)
CIE-LCHlch(77.66, 60.62, 88.58°)
OKLaboklab(80.8% -0.0009 0.1367)
OKLCHoklch(80.8% 0.137 90.4)
XYZxyz(50.5859, 52.6326, 13.9719)
Luminance0.5263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BC4A #4A70E2
analogous
#E2704A #E2BC4A #BCE24A
triadic
#E2BC4A #4AE2BC #BC4AE2
tetradic
#E2BC4A #4AE270 #4A70E2 #E24ABC
square
#E2BC4A #4AE270 #4A70E2 #E24ABC
split-complementary
#E2BC4A #4ABCE2 #704AE2
monochromatic
#997919 #CEA321 #E2BC4A #EAD07F #F3E3B3

Accessibility & contrast

On white

1.82
#E2BC4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#E2BC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2BC4A
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2BC4A#FFFFFF#000000##000000
##E2BC4A1.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA3C
Deuteranopia (green-blind)
#D9C44F
Tritanopia (blue-blind)
#F4ADA4
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #e2bc4a;
/* rgb */ color: rgb(226, 188, 74);
/* oklch */ color: oklch(80.8% 0.137 90.4);
Tailwind
colors: {
  custom: {
    50: '#efcf82',
    500: '#e2bc4a',
    950: '#000000',
  },
}
SCSS
$custom: #e2bc4a;
$custom-light: #efcf82;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bc4a",
  "rgb": {
    "r": 226,
    "g": 188,
    "b": 74
  },
  "hsl": {
    "h": 45,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.80802,
    "c": 0.13666,
    "h": 90.4
  },
  "luminance": 0.5263
}

Semantic roles & 50–950 ramp

primary
#E2BC4A
secondary
#334E9D
accent
#66EF39
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #E2BC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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