#E2B523#E2B523

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

Color values

HEX#E2B523
RGBrgb(226, 181, 35)
HSLhsl(46, 77%, 51%)
HSVhsv(46, 85%, 89%)
CMYKcmyk(0%, 19.9%, 84.5%, 11.4%)
CIE-LABlab(75.66, 3.61, 72.31)
CIE-LCHlch(75.66, 72.40, 87.14°)
OKLaboklab(79.16% 0.0012 0.1541)
OKLCHoklch(79.16% 0.154 89.5)
XYZxyz(48.1944, 49.3411, 8.5752)
Luminance0.4934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2B523 #2350E2
analogous
#E25523 #E2B523 #AFE223
triadic
#E2B523 #23E2B5 #B523E2
tetradic
#E2B523 #23E255 #2350E2 #E223AF
square
#E2B523 #23E255 #2350E2 #E223AF
split-complementary
#E2B523 #23AFE2 #5523E2
monochromatic
#7A6110 #B18C17 #E2B523 #E9C759 #F0D98F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #e2b523;
/* rgb */ color: rgb(226, 181, 35);
/* oklch */ color: oklch(79.2% 0.154 89.5);
Tailwind
colors: {
  custom: {
    50: '#f0ca6e',
    500: '#e2b523',
    950: '#000000',
  },
}
SCSS
$custom: #e2b523;
$custom-light: #f0ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2b523",
  "rgb": {
    "r": 226,
    "g": 181,
    "b": 35
  },
  "hsl": {
    "h": 45.864,
    "s": 76.707,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79158,
    "c": 0.15412,
    "h": 89.5
  },
  "luminance": 0.49338
}

Semantic roles & 50–950 ramp

primary
#E2B523
secondary
#869ADB
accent
#61F335
background
#FFFCF7
surface
#FFF8ED
border
#D7D1C8
text
#181308
muted
#86827B

Preview Lab

Preview with #E2B523

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

Preview Lab → · Contrast checker → · Palette generator →

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