#E2B628#E2B628

#E2B628 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.4% C 0.153 H 89.8°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#E2B628
RGBrgb(226, 182, 40)
HSLhsl(46, 76%, 52%)
HSVhsv(46, 82%, 89%)
CMYKcmyk(0%, 19.5%, 82.3%, 11.4%)
CIE-LABlab(75.93, 3.22, 71.19)
CIE-LCHlch(75.93, 71.26, 87.41°)
OKLaboklab(79.38% 0.0005 0.1527)
OKLCHoklch(79.38% 0.153 89.8)
XYZxyz(48.4780, 49.7811, 9.0625)
Luminance0.4978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2B628 #2854E2
analogous
#E25928 #E2B628 #B1E228
triadic
#E2B628 #28E2B6 #B628E2
tetradic
#E2B628 #28E259 #2854E2 #E228B1
square
#E2B628 #28E259 #2854E2 #E228B1
split-complementary
#E2B628 #28B1E2 #5928E2
monochromatic
#7F6511 #B49018 #E2B628 #E9C85E #F1DB94

Accessibility & contrast

On white

1.92
#E2B628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#E2B628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2B628
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2B628#FFFFFF#000000##000000
##E2B6281.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#D7C032
Tritanopia (blue-blind)
#F5A69C
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #e2b628;
/* rgb */ color: rgb(226, 182, 40);
/* oklch */ color: oklch(79.4% 0.153 89.8);
Tailwind
colors: {
  custom: {
    50: '#f0cb70',
    500: '#e2b628',
    950: '#000000',
  },
}
SCSS
$custom: #e2b628;
$custom-light: #f0cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#e2b628",
  "rgb": {
    "r": 226,
    "g": 182,
    "b": 40
  },
  "hsl": {
    "h": 45.806,
    "s": 76.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79379,
    "c": 0.15268,
    "h": 89.8
  },
  "luminance": 0.49778
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2B628

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

Preview Lab → · Contrast checker → · Palette generator →

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