#E2B82F#E2B82F

#E2B82F is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.8% C 0.151 H 90.5°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#E2B82F
RGBrgb(226, 184, 47)
HSLhsl(46, 76%, 54%)
HSVhsv(46, 79%, 89%)
CMYKcmyk(0%, 18.6%, 79.2%, 11.4%)
CIE-LABlab(76.47, 2.39, 69.55)
CIE-LCHlch(76.47, 69.59, 88.03°)
OKLaboklab(79.81% -0.0012 0.1506)
OKLCHoklch(79.81% 0.151 90.5)
XYZxyz(49.0206, 50.6581, 9.8848)
Luminance0.5065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2B82F #2F59E2
analogous
#E25E2F #E2B82F #B2E22F
triadic
#E2B82F #2FE2B8 #B82FE2
tetradic
#E2B82F #2FE25E #2F59E2 #E22FB2
square
#E2B82F #2FE25E #2F59E2 #E22FB2
split-complementary
#E2B82F #2FB2E2 #5E2FE2
monochromatic
#846912 #BA941A #E2B82F #E9CA65 #F1DD9A

Accessibility & contrast

On white

1.89
#E2B82F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#E2B82F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2B82F
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2B82F#FFFFFF#000000##000000
##E2B82F1.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB60D
Deuteranopia (green-blind)
#D8C238
Tritanopia (blue-blind)
#F5A89E
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #e2b82f;
/* rgb */ color: rgb(226, 184, 47);
/* oklch */ color: oklch(79.8% 0.151 90.5);
Tailwind
colors: {
  custom: {
    50: '#f0cc73',
    500: '#e2b82f',
    950: '#000000',
  },
}
SCSS
$custom: #e2b82f;
$custom-light: #f0cc73;
$custom-dark: #000000;
JSON
{
  "hex": "#e2b82f",
  "rgb": {
    "r": 226,
    "g": 184,
    "b": 47
  },
  "hsl": {
    "h": 45.922,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79812,
    "c": 0.15058,
    "h": 90.5
  },
  "luminance": 0.50655
}

Semantic roles & 50–950 ramp

primary
#E2B82F
secondary
#2B418A
accent
#62F236
background
#FFFEFB
surface
#FFFAF1
border
#D7D3CB
text
#181309
muted
#86837D

Preview Lab

Preview with #E2B82F

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

Preview Lab → · Contrast checker → · Palette generator →

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