#E2B528#E2B528

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

Color values

HEX#E2B528
RGBrgb(226, 181, 40)
HSLhsl(45, 76%, 52%)
HSVhsv(45, 82%, 89%)
CMYKcmyk(0%, 19.9%, 82.3%, 11.4%)
CIE-LABlab(75.68, 3.74, 70.97)
CIE-LCHlch(75.68, 71.07, 86.98°)
OKLaboklab(79.18% 0.002 0.1522)
OKLCHoklch(79.18% 0.152 89.2)
XYZxyz(48.2740, 49.3730, 8.9944)
Luminance0.4937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2B528 #2855E2
analogous
#E25828 #E2B528 #B2E228
triadic
#E2B528 #28E2B5 #B528E2
tetradic
#E2B528 #28E258 #2855E2 #E228B2
square
#E2B528 #28E258 #2855E2 #E228B2
split-complementary
#E2B528 #28B2E2 #5828E2
monochromatic
#7F6411 #B48F18 #E2B528 #E9C85E #F1DA94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2B528#FFFFFF#000000##000000
##E2B5281.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)
#D6C032
Tritanopia (blue-blind)
#F5A49B
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #e2b528;
/* rgb */ color: rgb(226, 181, 40);
/* oklch */ color: oklch(79.2% 0.152 89.2);
Tailwind
colors: {
  custom: {
    50: '#f0ca70',
    500: '#e2b528',
    950: '#000000',
  },
}
SCSS
$custom: #e2b528;
$custom-light: #f0ca70;
$custom-dark: #000000;
JSON
{
  "hex": "#e2b528",
  "rgb": {
    "r": 226,
    "g": 181,
    "b": 40
  },
  "hsl": {
    "h": 45.484,
    "s": 76.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.7918,
    "c": 0.15221,
    "h": 89.2
  },
  "luminance": 0.4937
}

Semantic roles & 50–950 ramp

primary
#E2B528
secondary
#8A9EDC
accent
#63F335
background
#FFFCF7
surface
#FFF8ED
border
#D7D1C8
text
#181308
muted
#86827B

Preview Lab

Preview with #E2B528

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

Preview Lab → · Contrast checker → · Palette generator →

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