#E2BB30#E2BB30

#E2BB30 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#E2BB30
RGBrgb(226, 187, 48)
HSLhsl(47, 75%, 54%)
HSVhsv(47, 79%, 89%)
CMYKcmyk(0%, 17.3%, 78.8%, 11.4%)
CIE-LABlab(77.24, 0.86, 69.91)
CIE-LCHlch(77.24, 69.92, 89.30°)
OKLaboklab(80.42% -0.0055 0.1516)
OKLCHoklch(80.42% 0.152 92.1)
XYZxyz(49.6708, 51.9259, 10.2022)
Luminance0.5192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BB30 #3057E2
analogous
#E26230 #E2BB30 #B0E230
triadic
#E2BB30 #30E2BB #BB30E2
tetradic
#E2BB30 #30E262 #3057E2 #E230B0
square
#E2BB30 #30E262 #3057E2 #E230B0
split-complementary
#E2BB30 #30B0E2 #6230E2
monochromatic
#856C13 #BB971A #E2BB30 #EACD66 #F1DE9B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2BB30#FFFFFF#000000##000000
##E2BB301.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)
#D0B80E
Deuteranopia (green-blind)
#DAC339
Tritanopia (blue-blind)
#F5ABA1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e2bb30;
/* rgb */ color: rgb(226, 187, 48);
/* oklch */ color: oklch(80.4% 0.152 92.1);
Tailwind
colors: {
  custom: {
    50: '#f0cf74',
    500: '#e2bb30',
    950: '#000000',
  },
}
SCSS
$custom: #e2bb30;
$custom-light: #f0cf74;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bb30",
  "rgb": {
    "r": 226,
    "g": 187,
    "b": 48
  },
  "hsl": {
    "h": 46.854,
    "s": 75.424,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80417,
    "c": 0.15167,
    "h": 92.1
  },
  "luminance": 0.51923
}

Semantic roles & 50–950 ramp

primary
#E2BB30
secondary
#2B408B
accent
#5FF236
background
#FFFEFB
surface
#FFFAF1
border
#D7D3CB
text
#171309
muted
#85837D

Preview Lab

Preview with #E2BB30

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

Preview Lab → · Contrast checker → · Palette generator →

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