#E2BB2B#E2BB2B

#E2BB2B is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.4% C 0.154 H 92.4°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#E2BB2B
RGBrgb(226, 187, 43)
HSLhsl(47, 76%, 53%)
HSVhsv(47, 81%, 89%)
CMYKcmyk(0%, 17.3%, 81%, 11.4%)
CIE-LABlab(77.21, 0.70, 71.42)
CIE-LCHlch(77.21, 71.43, 89.44°)
OKLaboklab(80.39% -0.0064 0.1538)
OKLCHoklch(80.39% 0.154 92.4)
XYZxyz(49.5734, 51.8869, 9.6891)
Luminance0.5188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BB2B #2B52E2
analogous
#E25F2B #E2BB2B #AEE22B
triadic
#E2BB2B #2BE2BB #BB2BE2
tetradic
#E2BB2B #2BE25F #2B52E2 #E22BAE
square
#E2BB2B #2BE25F #2B52E2 #E22BAE
split-complementary
#E2BB2B #2BAEE2 #5F2BE2
monochromatic
#816912 #B79519 #E2BB2B #E9CC61 #F1DE97

Accessibility & contrast

On white

1.85
#E2BB2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#E2BB2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2BB2B
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2BB2B#FFFFFF#000000##000000
##E2BB2B1.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B800
Deuteranopia (green-blind)
#DAC335
Tritanopia (blue-blind)
#F5ABA1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e2bb2b;
/* rgb */ color: rgb(226, 187, 43);
/* oklch */ color: oklch(80.4% 0.154 92.4);
Tailwind
colors: {
  custom: {
    50: '#f0cf72',
    500: '#e2bb2b',
    950: '#000000',
  },
}
SCSS
$custom: #e2bb2b;
$custom-light: #f0cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bb2b",
  "rgb": {
    "r": 226,
    "g": 187,
    "b": 43
  },
  "hsl": {
    "h": 47.213,
    "s": 75.934,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80391,
    "c": 0.15394,
    "h": 92.4
  },
  "luminance": 0.51884
}

Semantic roles & 50–950 ramp

primary
#E2BB2B
secondary
#2A3E88
accent
#5EF335
background
#FFFEFB
surface
#FFFAF1
border
#D7D3CB
text
#181309
muted
#86837D

Preview Lab

Preview with #E2BB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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