#E2B525#E2B525

#E2B525 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 79.2% C 0.153 H 89.4°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#E2B525
RGBrgb(226, 181, 37)
HSLhsl(46, 77%, 52%)
HSVhsv(46, 84%, 89%)
CMYKcmyk(0%, 19.9%, 83.6%, 11.4%)
CIE-LABlab(75.67, 3.66, 71.79)
CIE-LCHlch(75.67, 71.88, 87.08°)
OKLaboklab(79.17% 0.0015 0.1534)
OKLCHoklch(79.17% 0.153 89.4)
XYZxyz(48.2249, 49.3534, 8.7361)
Luminance0.4935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2B525 #2552E2
analogous
#E25725 #E2B525 #B1E225
triadic
#E2B525 #25E2B5 #B525E2
tetradic
#E2B525 #25E257 #2552E2 #E225B1
square
#E2B525 #25E257 #2552E2 #E225B1
split-complementary
#E2B525 #25B1E2 #5725E2
monochromatic
#7C6211 #B28D18 #E2B525 #E9C75B #F0DA91

Accessibility & contrast

On white

1.93
#E2B525 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.87
#E2B525 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2B525
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2B525#FFFFFF#000000##000000
##E2B5251.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#D6C02F
Tritanopia (blue-blind)
#F5A49B
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #e2b525;
/* rgb */ color: rgb(226, 181, 37);
/* oklch */ color: oklch(79.2% 0.153 89.4);
Tailwind
colors: {
  custom: {
    50: '#f0ca6f',
    500: '#e2b525',
    950: '#000000',
  },
}
SCSS
$custom: #e2b525;
$custom-light: #f0ca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#e2b525",
  "rgb": {
    "r": 226,
    "g": 181,
    "b": 37
  },
  "hsl": {
    "h": 45.714,
    "s": 76.518,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79167,
    "c": 0.1534,
    "h": 89.4
  },
  "luminance": 0.4935
}

Semantic roles & 50–950 ramp

primary
#E2B525
secondary
#889CDB
accent
#62F335
background
#FFFCF7
surface
#FFF8ED
border
#D7D1C8
text
#181308
muted
#86827B

Preview Lab

Preview with #E2B525

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

Preview Lab → · Contrast checker → · Palette generator →

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