#E2BB41#E2BB41

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

Color values

HEX#E2BB41
RGBrgb(226, 187, 65)
HSLhsl(45, 74%, 57%)
HSVhsv(45, 71%, 89%)
CMYKcmyk(0%, 17.3%, 71.2%, 11.4%)
CIE-LABlab(77.34, 1.56, 63.94)
CIE-LCHlch(77.34, 63.96, 88.60°)
OKLaboklab(80.53% -0.0017 0.1422)
OKLCHoklch(80.53% 0.142 90.7)
XYZxyz(50.0913, 52.0941, 12.4168)
Luminance0.5209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BB41 #4168E2
analogous
#E26B41 #E2BB41 #B8E241
triadic
#E2BB41 #41E2BB #BB41E2
tetradic
#E2BB41 #41E26B #4168E2 #E241B8
square
#E2BB41 #41E26B #4168E2 #E241B8
split-complementary
#E2BB41 #41B8E2 #6B41E2
monochromatic
#927416 #C79E1E #E2BB41 #EACE76 #F2E1AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2BB41#FFFFFF#000000##000000
##E2BB411.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)
#D0B92F
Deuteranopia (green-blind)
#D9C447
Tritanopia (blue-blind)
#F4ACA2
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e2bb41;
/* rgb */ color: rgb(226, 187, 65);
/* oklch */ color: oklch(80.5% 0.142 90.7);
Tailwind
colors: {
  custom: {
    50: '#efcf7d',
    500: '#e2bb41',
    950: '#000000',
  },
}
SCSS
$custom: #e2bb41;
$custom-light: #efcf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bb41",
  "rgb": {
    "r": 226,
    "g": 187,
    "b": 65
  },
  "hsl": {
    "h": 45.466,
    "s": 73.516,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80528,
    "c": 0.14217,
    "h": 90.7
  },
  "luminance": 0.52091
}

Semantic roles & 50–950 ramp

primary
#E2BB41
secondary
#304997
accent
#64F038
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #E2BB41

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

Preview Lab → · Contrast checker → · Palette generator →

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