#E2B93A#E2B93A

#E2B93A is a light, vivid yellow. Relative luminance 0.512; OKLCH L 80.1% C 0.145 H 90.2°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#E2B93A
RGBrgb(226, 185, 58)
HSLhsl(45, 74%, 56%)
HSVhsv(45, 74%, 89%)
CMYKcmyk(0%, 18.1%, 74.3%, 11.4%)
CIE-LABlab(76.79, 2.29, 66.06)
CIE-LCHlch(76.79, 66.10, 88.02°)
OKLaboklab(80.08% -0.0004 0.1453)
OKLCHoklch(80.08% 0.145 90.2)
XYZxyz(49.4796, 51.1753, 11.2739)
Luminance0.5117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2B93A #3A63E2
analogous
#E2653A #E2B93A #B7E23A
triadic
#E2B93A #3AE2B9 #B93AE2
tetradic
#E2B93A #3AE265 #3A63E2 #E23AB7
square
#E2B93A #3AE265 #3A63E2 #E23AB7
split-complementary
#E2B93A #3AB7E2 #653AE2
monochromatic
#8D7015 #C29A1D #E2B93A #EACC6F #F2DFA5

Accessibility & contrast

On white

1.87
#E2B93A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#E2B93A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2B93A
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2B93A#FFFFFF#000000##000000
##E2B93A1.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB725
Deuteranopia (green-blind)
#D8C241
Tritanopia (blue-blind)
#F5A9A0
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #e2b93a;
/* rgb */ color: rgb(226, 185, 58);
/* oklch */ color: oklch(80.1% 0.145 90.2);
Tailwind
colors: {
  custom: {
    50: '#f0cd79',
    500: '#e2b93a',
    950: '#000000',
  },
}
SCSS
$custom: #e2b93a;
$custom-light: #f0cd79;
$custom-dark: #000000;
JSON
{
  "hex": "#e2b93a",
  "rgb": {
    "r": 226,
    "g": 185,
    "b": 58
  },
  "hsl": {
    "h": 45.357,
    "s": 74.336,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80078,
    "c": 0.14533,
    "h": 90.2
  },
  "luminance": 0.51172
}

Semantic roles & 50–950 ramp

primary
#E2B93A
secondary
#2E4792
accent
#64F137
background
#FFFEFB
surface
#FFFAF1
border
#D7D3CB
text
#17130A
muted
#85837D

Preview Lab

Preview with #E2B93A

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

Preview Lab → · Contrast checker → · Palette generator →

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