#E2B728#E2B728

#E2B728 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.6% C 0.153 H 90.4°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#E2B728
RGBrgb(226, 183, 40)
HSLhsl(46, 76%, 52%)
HSVhsv(46, 82%, 89%)
CMYKcmyk(0%, 19%, 82.3%, 11.4%)
CIE-LABlab(76.19, 2.70, 71.40)
CIE-LCHlch(76.19, 71.45, 87.84°)
OKLaboklab(79.58% -0.001 0.1532)
OKLCHoklch(79.58% 0.153 90.4)
XYZxyz(48.6835, 50.1922, 9.1310)
Luminance0.5019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2B728 #2853E2
analogous
#E25A28 #E2B728 #B0E228
triadic
#E2B728 #28E2B7 #B728E2
tetradic
#E2B728 #28E25A #2853E2 #E228B0
square
#E2B728 #28E25A #2853E2 #E228B0
split-complementary
#E2B728 #28B0E2 #5A28E2
monochromatic
#7F6511 #B49018 #E2B728 #E9C95E #F1DB94

Accessibility & contrast

On white

1.90
#E2B728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#E2B728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2B728
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2B728#FFFFFF#000000##000000
##E2B7281.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#D7C132
Tritanopia (blue-blind)
#F5A79D
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #e2b728;
/* rgb */ color: rgb(226, 183, 40);
/* oklch */ color: oklch(79.6% 0.153 90.4);
Tailwind
colors: {
  custom: {
    50: '#f0cc70',
    500: '#e2b728',
    950: '#000000',
  },
}
SCSS
$custom: #e2b728;
$custom-light: #f0cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#e2b728",
  "rgb": {
    "r": 226,
    "g": 183,
    "b": 40
  },
  "hsl": {
    "h": 46.129,
    "s": 76.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79577,
    "c": 0.15315,
    "h": 90.4
  },
  "luminance": 0.50189
}

Semantic roles & 50–950 ramp

primary
#E2B728
secondary
#293E86
accent
#61F335
background
#FFFDFB
surface
#FFF9F1
border
#D7D2CB
text
#181308
muted
#86827D

Preview Lab

Preview with #E2B728

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

Preview Lab → · Contrast checker → · Palette generator →

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