#E2B940#E2B940

#E2B940 is a light, vivid orange. Relative luminance 0.512; OKLCH L 80.1% C 0.142 H 89.6°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#E2B940
RGBrgb(226, 185, 64)
HSLhsl(45, 74%, 57%)
HSVhsv(45, 72%, 89%)
CMYKcmyk(0%, 18.1%, 71.7%, 11.4%)
CIE-LABlab(76.82, 2.56, 63.82)
CIE-LCHlch(76.82, 63.87, 87.71°)
OKLaboklab(80.12% 0.001 0.1417)
OKLCHoklch(80.12% 0.142 89.6)
XYZxyz(49.6412, 51.2399, 12.1251)
Luminance0.5124 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2B940 #4069E2
analogous
#E26840 #E2B940 #BAE240
triadic
#E2B940 #40E2B9 #B940E2
tetradic
#E2B940 #40E268 #4069E2 #E240BA
square
#E2B940 #40E268 #4069E2 #E240BA
split-complementary
#E2B940 #40BAE2 #6840E2
monochromatic
#927216 #C79C1E #E2B940 #EACC75 #F2E0AA

Accessibility & contrast

On white

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

On black

11.25
#E2B940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2B940
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2B940#FFFFFF#000000##000000
##E2B9401.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB72E
Deuteranopia (green-blind)
#D8C246
Tritanopia (blue-blind)
#F4AAA1
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #e2b940;
/* rgb */ color: rgb(226, 185, 64);
/* oklch */ color: oklch(80.1% 0.142 89.6);
Tailwind
colors: {
  custom: {
    50: '#efcd7c',
    500: '#e2b940',
    950: '#000000',
  },
}
SCSS
$custom: #e2b940;
$custom-light: #efcd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2b940",
  "rgb": {
    "r": 226,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 44.815,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80122,
    "c": 0.14173,
    "h": 89.6
  },
  "luminance": 0.51237
}

Semantic roles & 50–950 ramp

primary
#E2B940
secondary
#304A96
accent
#66F038
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #E2B940

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

Preview Lab → · Contrast checker → · Palette generator →

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