#E2BB34#E2BB34

#E2BB34 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.4% C 0.150 H 91.8°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#E2BB34
RGBrgb(226, 187, 52)
HSLhsl(47, 75%, 55%)
HSVhsv(47, 77%, 89%)
CMYKcmyk(0%, 17.3%, 77%, 11.4%)
CIE-LABlab(77.26, 1.00, 68.62)
CIE-LCHlch(77.26, 68.63, 89.16°)
OKLaboklab(80.44% -0.0047 0.1496)
OKLCHoklch(80.44% 0.15 91.8)
XYZxyz(49.7571, 51.9604, 10.6568)
Luminance0.5196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BB34 #345BE2
analogous
#E26434 #E2BB34 #B2E234
triadic
#E2BB34 #34E2BB #BB34E2
tetradic
#E2BB34 #34E264 #345BE2 #E234B2
square
#E2BB34 #34E264 #345BE2 #E234B2
split-complementary
#E2BB34 #34B2E2 #6434E2
monochromatic
#886E13 #BE991B #E2BB34 #EACD6A #F1DF9F

Accessibility & contrast

On white

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

On black

11.39
#E2BB34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2BB34
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2BB34#FFFFFF#000000##000000
##E2BB341.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2bb34;
/* rgb */ color: rgb(226, 187, 52);
/* oklch */ color: oklch(80.4% 0.150 91.8);
Tailwind
colors: {
  custom: {
    50: '#f0cf76',
    500: '#e2bb34',
    950: '#000000',
  },
}
SCSS
$custom: #e2bb34;
$custom-light: #f0cf76;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bb34",
  "rgb": {
    "r": 226,
    "g": 187,
    "b": 52
  },
  "hsl": {
    "h": 46.552,
    "s": 75,
    "l": 54.51
  },
  "oklch": {
    "l": 0.8044,
    "c": 0.14967,
    "h": 91.8
  },
  "luminance": 0.51957
}

Semantic roles & 50–950 ramp

primary
#E2BB34
secondary
#2C428E
accent
#60F236
background
#FFFEFB
surface
#FFFAF1
border
#D7D3CB
text
#171309
muted
#85837D

Preview Lab

Preview with #E2BB34

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

Preview Lab → · Contrast checker → · Palette generator →

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