#E2BC45#E2BC45

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

Color values

HEX#E2BC45
RGBrgb(226, 188, 69)
HSLhsl(45, 73%, 58%)
HSVhsv(45, 69%, 89%)
CMYKcmyk(0%, 16.8%, 69.5%, 11.4%)
CIE-LABlab(77.62, 1.23, 62.63)
CIE-LCHlch(77.62, 62.64, 88.87°)
OKLaboklab(80.76% -0.0022 0.1401)
OKLCHoklch(80.76% 0.14 90.9)
XYZxyz(50.4241, 52.5679, 13.1198)
Luminance0.5256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BC45 #456BE2
analogous
#E26E45 #E2BC45 #B9E245
triadic
#E2BC45 #45E2BC #BC45E2
tetradic
#E2BC45 #45E26E #456BE2 #E245B9
square
#E2BC45 #45E26E #456BE2 #E245B9
split-complementary
#E2BC45 #45B9E2 #6E45E2
monochromatic
#957717 #CAA120 #E2BC45 #EACF7A #F3E2AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2BC45#FFFFFF#000000##000000
##E2BC451.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2bc45;
/* rgb */ color: rgb(226, 188, 69);
/* oklch */ color: oklch(80.8% 0.140 90.9);
Tailwind
colors: {
  custom: {
    50: '#efcf7f',
    500: '#e2bc45',
    950: '#000000',
  },
}
SCSS
$custom: #e2bc45;
$custom-light: #efcf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bc45",
  "rgb": {
    "r": 226,
    "g": 188,
    "b": 69
  },
  "hsl": {
    "h": 45.478,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8076,
    "c": 0.14012,
    "h": 90.9
  },
  "luminance": 0.52565
}

Semantic roles & 50–950 ramp

primary
#E2BC45
secondary
#324B9A
accent
#65F038
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #E2BC45

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

Preview Lab → · Contrast checker → · Palette generator →

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