#E2BB46#E2BB46

#E2BB46 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.6% C 0.139 H 90.2°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#E2BB46
RGBrgb(226, 187, 70)
HSLhsl(45, 73%, 58%)
HSVhsv(45, 69%, 89%)
CMYKcmyk(0%, 17.3%, 69%, 11.4%)
CIE-LABlab(77.37, 1.81, 61.97)
CIE-LCHlch(77.37, 62.00, 88.33°)
OKLaboklab(80.57% -0.0004 0.1389)
OKLCHoklch(80.57% 0.139 90.2)
XYZxyz(50.2426, 52.1546, 13.2137)
Luminance0.5215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BB46 #466DE2
analogous
#E26D46 #E2BB46 #BBE246
triadic
#E2BB46 #46E2BB #BB46E2
tetradic
#E2BB46 #46E26D #466DE2 #E246BB
square
#E2BB46 #46E26D #466DE2 #E246BB
split-complementary
#E2BB46 #46BBE2 #6D46E2
monochromatic
#967618 #CBA020 #E2BB46 #EACE7B #F3E2B0

Accessibility & contrast

On white

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

On black

11.43
#E2BB46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2BB46
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2BB46#FFFFFF#000000##000000
##E2BB461.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB937
Deuteranopia (green-blind)
#D9C44C
Tritanopia (blue-blind)
#F4ACA3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e2bb46;
/* rgb */ color: rgb(226, 187, 70);
/* oklch */ color: oklch(80.6% 0.139 90.2);
Tailwind
colors: {
  custom: {
    50: '#efcf80',
    500: '#e2bb46',
    950: '#000000',
  },
}
SCSS
$custom: #e2bb46;
$custom-light: #efcf80;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bb46",
  "rgb": {
    "r": 226,
    "g": 187,
    "b": 70
  },
  "hsl": {
    "h": 45,
    "s": 72.897,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80568,
    "c": 0.13888,
    "h": 90.2
  },
  "luminance": 0.52152
}

Semantic roles & 50–950 ramp

primary
#E2BB46
secondary
#324C9A
accent
#66F038
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #E2BB46

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

Preview Lab → · Contrast checker → · Palette generator →

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