#E2BB42#E2BB42

#E2BB42 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.5% C 0.142 H 90.6°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#E2BB42
RGBrgb(226, 187, 66)
HSLhsl(45, 73%, 57%)
HSVhsv(45, 71%, 89%)
CMYKcmyk(0%, 17.3%, 70.8%, 11.4%)
CIE-LABlab(77.34, 1.61, 63.55)
CIE-LCHlch(77.34, 63.57, 88.55°)
OKLaboklab(80.54% -0.0015 0.1415)
OKLCHoklch(80.54% 0.142 90.6)
XYZxyz(50.1205, 52.1058, 12.5707)
Luminance0.5210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BB42 #4269E2
analogous
#E26B42 #E2BB42 #B9E242
triadic
#E2BB42 #42E2BB #BB42E2
tetradic
#E2BB42 #42E26B #4269E2 #E242B9
square
#E2BB42 #42E26B #4269E2 #E242B9
split-complementary
#E2BB42 #42B9E2 #6B42E2
monochromatic
#937517 #C89F1F #E2BB42 #EACE77 #F2E1AC

Accessibility & contrast

On white

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

On black

11.42
#E2BB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2BB42
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2BB42#FFFFFF#000000##000000
##E2BB421.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B931
Deuteranopia (green-blind)
#D9C448
Tritanopia (blue-blind)
#F4ACA2
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e2bb42;
/* rgb */ color: rgb(226, 187, 66);
/* oklch */ color: oklch(80.5% 0.142 90.6);
Tailwind
colors: {
  custom: {
    50: '#efcf7d',
    500: '#e2bb42',
    950: '#000000',
  },
}
SCSS
$custom: #e2bb42;
$custom-light: #efcf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bb42",
  "rgb": {
    "r": 226,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 45.375,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80536,
    "c": 0.14154,
    "h": 90.6
  },
  "luminance": 0.52103
}

Semantic roles & 50–950 ramp

primary
#E2BB42
secondary
#314A98
accent
#65F038
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #E2BB42

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

Preview Lab → · Contrast checker → · Palette generator →

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