#E2B428#E2B428

#E2B428 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 79.0% C 0.152 H 88.7°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#E2B428
RGBrgb(226, 180, 40)
HSLhsl(45, 76%, 52%)
HSVhsv(45, 82%, 89%)
CMYKcmyk(0%, 20.4%, 82.3%, 11.4%)
CIE-LABlab(75.43, 4.27, 70.76)
CIE-LCHlch(75.43, 70.88, 86.55°)
OKLaboklab(78.98% 0.0035 0.1517)
OKLCHoklch(78.98% 0.152 88.7)
XYZxyz(48.0714, 48.9678, 8.9269)
Luminance0.4896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2B428 #2856E2
analogous
#E25728 #E2B428 #B3E228
triadic
#E2B428 #28E2B4 #B428E2
tetradic
#E2B428 #28E257 #2856E2 #E228B3
square
#E2B428 #28E257 #2856E2 #E228B3
split-complementary
#E2B428 #28B3E2 #5728E2
monochromatic
#7F6311 #B48E18 #E2B428 #E9C75E #F1DA94

Accessibility & contrast

On white

1.95
#E2B428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#E2B428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2B428
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2B428#FFFFFF#000000##000000
##E2B4281.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB300
Deuteranopia (green-blind)
#D5BF31
Tritanopia (blue-blind)
#F5A39B
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #e2b428;
/* rgb */ color: rgb(226, 180, 40);
/* oklch */ color: oklch(79.0% 0.152 88.7);
Tailwind
colors: {
  custom: {
    50: '#f0ca70',
    500: '#e2b428',
    950: '#000000',
  },
}
SCSS
$custom: #e2b428;
$custom-light: #f0ca70;
$custom-dark: #000000;
JSON
{
  "hex": "#e2b428",
  "rgb": {
    "r": 226,
    "g": 180,
    "b": 40
  },
  "hsl": {
    "h": 45.161,
    "s": 76.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.78982,
    "c": 0.15177,
    "h": 88.7
  },
  "luminance": 0.48964
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2B428

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

Preview Lab → · Contrast checker → · Palette generator →

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