#E2BB2D#E2BB2D

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

Color values

HEX#E2BB2D
RGBrgb(226, 187, 45)
HSLhsl(47, 76%, 53%)
HSVhsv(47, 80%, 89%)
CMYKcmyk(0%, 17.3%, 80.1%, 11.4%)
CIE-LABlab(77.22, 0.76, 70.83)
CIE-LCHlch(77.22, 70.84, 89.39°)
OKLaboklab(80.4% -0.0061 0.1529)
OKLCHoklch(80.4% 0.153 92.3)
XYZxyz(49.6109, 51.9020, 9.8871)
Luminance0.5190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BB2D #2D54E2
analogous
#E2602D #E2BB2D #AEE22D
triadic
#E2BB2D #2DE2BB #BB2DE2
tetradic
#E2BB2D #2DE260 #2D54E2 #E22DAE
square
#E2BB2D #2DE260 #2D54E2 #E22DAE
split-complementary
#E2BB2D #2DAEE2 #602DE2
monochromatic
#836A12 #B89619 #E2BB2D #E9CC63 #F1DE99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2BB2D#FFFFFF#000000##000000
##E2BB2D1.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)
#D0B802
Deuteranopia (green-blind)
#DAC337
Tritanopia (blue-blind)
#F5ABA1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e2bb2d;
/* rgb */ color: rgb(226, 187, 45);
/* oklch */ color: oklch(80.4% 0.153 92.3);
Tailwind
colors: {
  custom: {
    50: '#f0cf73',
    500: '#e2bb2d',
    950: '#000000',
  },
}
SCSS
$custom: #e2bb2d;
$custom-light: #f0cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bb2d",
  "rgb": {
    "r": 226,
    "g": 187,
    "b": 45
  },
  "hsl": {
    "h": 47.072,
    "s": 75.732,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80401,
    "c": 0.15306,
    "h": 92.3
  },
  "luminance": 0.51899
}

Semantic roles & 50–950 ramp

primary
#E2BB2D
secondary
#2A3F89
accent
#5EF235
background
#FFFEFB
surface
#FFFAF1
border
#D7D3CB
text
#181309
muted
#86837D

Preview Lab

Preview with #E2BB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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