#E2BC47#E2BC47

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

Color values

HEX#E2BC47
RGBrgb(226, 188, 71)
HSLhsl(45, 73%, 58%)
HSVhsv(45, 69%, 89%)
CMYKcmyk(0%, 16.8%, 68.6%, 11.4%)
CIE-LABlab(77.63, 1.34, 61.83)
CIE-LCHlch(77.63, 61.84, 88.76°)
OKLaboklab(80.78% -0.0017 0.1388)
OKLCHoklch(80.78% 0.139 90.7)
XYZxyz(50.4873, 52.5931, 13.4523)
Luminance0.5259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BC47 #476DE2
analogous
#E26E47 #E2BC47 #BBE247
triadic
#E2BC47 #47E2BC #BC47E2
tetradic
#E2BC47 #47E26E #476DE2 #E247BB
square
#E2BC47 #47E26E #476DE2 #E247BB
split-complementary
#E2BC47 #47BBE2 #6E47E2
monochromatic
#977818 #CCA220 #E2BC47 #EACF7C #F3E3B1

Accessibility & contrast

On white

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

On black

11.52
#E2BC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2BC47
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2BC47#FFFFFF#000000##000000
##E2BC471.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2bc47;
/* rgb */ color: rgb(226, 188, 71);
/* oklch */ color: oklch(80.8% 0.139 90.7);
Tailwind
colors: {
  custom: {
    50: '#efcf80',
    500: '#e2bc47',
    950: '#000000',
  },
}
SCSS
$custom: #e2bc47;
$custom-light: #efcf80;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bc47",
  "rgb": {
    "r": 226,
    "g": 188,
    "b": 71
  },
  "hsl": {
    "h": 45.29,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80776,
    "c": 0.13876,
    "h": 90.7
  },
  "luminance": 0.5259
}

Semantic roles & 50–950 ramp

primary
#E2BC47
secondary
#324C9B
accent
#65EF38
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #E2BC47

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

Preview Lab → · Contrast checker → · Palette generator →

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