#E2B540#E2B540

#E2B540 is a light, vivid orange. Relative luminance 0.496; OKLCH L 79.3% C 0.140 H 87.1°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#E2B540
RGBrgb(226, 181, 64)
HSLhsl(43, 74%, 57%)
HSVhsv(43, 72%, 89%)
CMYKcmyk(0%, 19.9%, 71.7%, 11.4%)
CIE-LABlab(75.82, 4.65, 62.82)
CIE-LCHlch(75.82, 62.99, 85.76°)
OKLaboklab(79.33% 0.007 0.1396)
OKLCHoklch(79.33% 0.14 87.1)
XYZxyz(48.8162, 49.5899, 11.8501)
Luminance0.4959 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2B540 #406DE2
analogous
#E26440 #E2B540 #BEE240
triadic
#E2B540 #40E2B5 #B540E2
tetradic
#E2B540 #40E264 #406DE2 #E240BE
square
#E2B540 #40E264 #406DE2 #E240BE
split-complementary
#E2B540 #40BEE2 #6440E2
monochromatic
#926F16 #C7981E #E2B540 #EACA75 #F2DEAA

Accessibility & contrast

On white

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

On black

10.92
#E2B540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2B540
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2B540#FFFFFF#000000##000000
##E2B5401.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB42F
Deuteranopia (green-blind)
#D5C046
Tritanopia (blue-blind)
#F5A59D
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #e2b540;
/* rgb */ color: rgb(226, 181, 64);
/* oklch */ color: oklch(79.3% 0.140 87.1);
Tailwind
colors: {
  custom: {
    50: '#efca7c',
    500: '#e2b540',
    950: '#000000',
  },
}
SCSS
$custom: #e2b540;
$custom-light: #efca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2b540",
  "rgb": {
    "r": 226,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 43.333,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79328,
    "c": 0.13978,
    "h": 87.1
  },
  "luminance": 0.49587
}

Semantic roles & 50–950 ramp

primary
#E2B540
secondary
#9EB0E0
accent
#6BF038
background
#FFFCF7
surface
#FFF8EE
border
#D7D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #E2B540

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

Preview Lab → · Contrast checker → · Palette generator →

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