#E2BB2F#E2BB2F

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

Color values

HEX#E2BB2F
RGBrgb(226, 187, 47)
HSLhsl(47, 76%, 54%)
HSVhsv(47, 79%, 89%)
CMYKcmyk(0%, 17.3%, 79.2%, 11.4%)
CIE-LABlab(77.23, 0.82, 70.22)
CIE-LCHlch(77.23, 70.23, 89.33°)
OKLaboklab(80.41% -0.0057 0.152)
OKLCHoklch(80.41% 0.152 92.1)
XYZxyz(49.6504, 51.9177, 10.0948)
Luminance0.5192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BB2F #2F56E2
analogous
#E2612F #E2BB2F #B0E22F
triadic
#E2BB2F #2FE2BB #BB2FE2
tetradic
#E2BB2F #2FE261 #2F56E2 #E22FB0
square
#E2BB2F #2FE261 #2F56E2 #E22FB0
split-complementary
#E2BB2F #2FB0E2 #612FE2
monochromatic
#846B12 #BA971A #E2BB2F #E9CD65 #F1DE9A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2BB2F#FFFFFF#000000##000000
##E2BB2F1.001.8411.3811.38
#FFFFFF1.841.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2bb2f;
/* rgb */ color: rgb(226, 187, 47);
/* oklch */ color: oklch(80.4% 0.152 92.1);
Tailwind
colors: {
  custom: {
    50: '#f0cf74',
    500: '#e2bb2f',
    950: '#000000',
  },
}
SCSS
$custom: #e2bb2f;
$custom-light: #f0cf74;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bb2f",
  "rgb": {
    "r": 226,
    "g": 187,
    "b": 47
  },
  "hsl": {
    "h": 46.927,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80411,
    "c": 0.15214,
    "h": 92.1
  },
  "luminance": 0.51915
}

Semantic roles & 50–950 ramp

primary
#E2BB2F
secondary
#2B408A
accent
#5FF236
background
#FFFEFB
surface
#FFFAF1
border
#D7D3CB
text
#181309
muted
#86837D

Preview Lab

Preview with #E2BB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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