#E2BB45#E2BB45

#E2BB45 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.6% C 0.140 H 90.3°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#E2BB45
RGBrgb(226, 187, 69)
HSLhsl(45, 73%, 58%)
HSVhsv(45, 69%, 89%)
CMYKcmyk(0%, 17.3%, 69.5%, 11.4%)
CIE-LABlab(77.37, 1.76, 62.37)
CIE-LCHlch(77.37, 62.39, 88.39°)
OKLaboklab(80.56% -0.0007 0.1396)
OKLCHoklch(80.56% 0.14 90.3)
XYZxyz(50.2113, 52.1421, 13.0488)
Luminance0.5214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BB45 #456CE2
analogous
#E26D45 #E2BB45 #BAE245
triadic
#E2BB45 #45E2BB #BB45E2
tetradic
#E2BB45 #45E26D #456CE2 #E245BA
square
#E2BB45 #45E26D #456CE2 #E245BA
split-complementary
#E2BB45 #45BAE2 #6D45E2
monochromatic
#957617 #CAA020 #E2BB45 #EACE7A #F3E2AF

Accessibility & contrast

On white

1.84
#E2BB45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#E2BB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2BB45
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2BB45#FFFFFF#000000##000000
##E2BB451.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB935
Deuteranopia (green-blind)
#D9C44B
Tritanopia (blue-blind)
#F4ACA3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e2bb45;
/* rgb */ color: rgb(226, 187, 69);
/* oklch */ color: oklch(80.6% 0.140 90.3);
Tailwind
colors: {
  custom: {
    50: '#efcf7f',
    500: '#e2bb45',
    950: '#000000',
  },
}
SCSS
$custom: #e2bb45;
$custom-light: #efcf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bb45",
  "rgb": {
    "r": 226,
    "g": 187,
    "b": 69
  },
  "hsl": {
    "h": 45.096,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8056,
    "c": 0.13956,
    "h": 90.3
  },
  "luminance": 0.52139
}

Semantic roles & 50–950 ramp

primary
#E2BB45
secondary
#324B9A
accent
#66F038
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #E2BB45

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

Preview Lab → · Contrast checker → · Palette generator →

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