#E2BB27#E2BB27

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

Color values

HEX#E2BB27
RGBrgb(226, 187, 39)
HSLhsl(47, 76%, 52%)
HSVhsv(47, 83%, 89%)
CMYKcmyk(0%, 17.3%, 82.7%, 11.4%)
CIE-LABlab(77.20, 0.58, 72.54)
CIE-LCHlch(77.20, 72.54, 89.54°)
OKLaboklab(80.37% -0.0071 0.1554)
OKLCHoklch(80.37% 0.156 92.6)
XYZxyz(49.5035, 51.8590, 9.3215)
Luminance0.5186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BB27 #274EE2
analogous
#E25E27 #E2BB27 #ABE227
triadic
#E2BB27 #27E2BB #BB27E2
tetradic
#E2BB27 #27E25E #274EE2 #E227AB
square
#E2BB27 #27E25E #274EE2 #E227AB
split-complementary
#E2BB27 #27ABE2 #5E27E2
monochromatic
#7E6711 #B49318 #E2BB27 #E9CC5D #F0DD93

Accessibility & contrast

On white

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

On black

11.37
#E2BB27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2BB27
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2BB27#FFFFFF#000000##000000
##E2BB271.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B800
Deuteranopia (green-blind)
#DAC332
Tritanopia (blue-blind)
#F5ABA0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e2bb27;
/* rgb */ color: rgb(226, 187, 39);
/* oklch */ color: oklch(80.4% 0.156 92.6);
Tailwind
colors: {
  custom: {
    50: '#f0cf70',
    500: '#e2bb27',
    950: '#000000',
  },
}
SCSS
$custom: #e2bb27;
$custom-light: #f0cf70;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bb27",
  "rgb": {
    "r": 226,
    "g": 187,
    "b": 39
  },
  "hsl": {
    "h": 47.487,
    "s": 76.327,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80372,
    "c": 0.15559,
    "h": 92.6
  },
  "luminance": 0.51856
}

Semantic roles & 50–950 ramp

primary
#E2BB27
secondary
#283C85
accent
#5DF335
background
#FFFEFB
surface
#FFFAF1
border
#D7D3CB
text
#181308
muted
#86837D

Preview Lab

Preview with #E2BB27

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

Preview Lab → · Contrast checker → · Palette generator →

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