#E2B423#E2B423

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

Color values

HEX#E2B423
RGBrgb(226, 180, 35)
HSLhsl(46, 77%, 51%)
HSVhsv(46, 85%, 89%)
CMYKcmyk(0%, 20.4%, 84.5%, 11.4%)
CIE-LABlab(75.41, 4.13, 72.10)
CIE-LCHlch(75.41, 72.22, 86.72°)
OKLaboklab(78.96% 0.0027 0.1537)
OKLCHoklch(78.96% 0.154 89)
XYZxyz(47.9918, 48.9359, 8.5077)
Luminance0.4893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2B423 #2351E2
analogous
#E25423 #E2B423 #B0E223
triadic
#E2B423 #23E2B4 #B423E2
tetradic
#E2B423 #23E254 #2351E2 #E223B0
square
#E2B423 #23E254 #2351E2 #E223B0
split-complementary
#E2B423 #23B0E2 #5423E2
monochromatic
#7A6110 #B18C17 #E2B423 #E9C659 #F0D98F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2B423#FFFFFF#000000##000000
##E2B4231.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)
#CAB200
Deuteranopia (green-blind)
#D5BF2E
Tritanopia (blue-blind)
#F5A39A
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #e2b423;
/* rgb */ color: rgb(226, 180, 35);
/* oklch */ color: oklch(79.0% 0.154 89.0);
Tailwind
colors: {
  custom: {
    50: '#f0ca6e',
    500: '#e2b423',
    950: '#000000',
  },
}
SCSS
$custom: #e2b423;
$custom-light: #f0ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2b423",
  "rgb": {
    "r": 226,
    "g": 180,
    "b": 35
  },
  "hsl": {
    "h": 45.55,
    "s": 76.707,
    "l": 51.176
  },
  "oklch": {
    "l": 0.7896,
    "c": 0.15368,
    "h": 89
  },
  "luminance": 0.48933
}

Semantic roles & 50–950 ramp

primary
#E2B423
secondary
#869BDB
accent
#62F335
background
#FFFCF7
surface
#FFF8ED
border
#D7D1C8
text
#181308
muted
#86827B

Preview Lab

Preview with #E2B423

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

Preview Lab → · Contrast checker → · Palette generator →

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