#E7B540#E7B540

#E7B540 is a light, vivid orange. Relative luminance 0.504; OKLCH L 79.8% C 0.141 H 84.8°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#E7B540
RGBrgb(231, 181, 64)
HSLhsl(42, 78%, 58%)
HSVhsv(42, 72%, 91%)
CMYKcmyk(0%, 21.6%, 72.3%, 9.4%)
CIE-LABlab(76.32, 6.79, 63.48)
CIE-LCHlch(76.32, 63.85, 83.90°)
OKLaboklab(79.84% 0.0129 0.1408)
OKLCHoklch(79.84% 0.141 84.8)
XYZxyz(50.4074, 50.4103, 11.9247)
Luminance0.5041 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7B540 #4072E7
analogous
#E76140 #E7B540 #C5E740
triadic
#E7B540 #40E7B5 #B540E7
tetradic
#E7B540 #40E761 #4072E7 #E740C5
square
#E7B540 #40E761 #4072E7 #E740C5
split-complementary
#E7B540 #40C5E7 #6140E7
monochromatic
#997113 #D0991A #E7B540 #EECA76 #F5DFAD

Accessibility & contrast

On white

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

On black

11.08
#E7B540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7B540
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7B540#FFFFFF#000000##000000
##E7B5401.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB52F
Deuteranopia (green-blind)
#D7C245
Tritanopia (blue-blind)
#FAA59D
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #e7b540;
/* rgb */ color: rgb(231, 181, 64);
/* oklch */ color: oklch(79.8% 0.141 84.8);
Tailwind
colors: {
  custom: {
    50: '#f3ca7c',
    500: '#e7b540',
    950: '#000000',
  },
}
SCSS
$custom: #e7b540;
$custom-light: #f3ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7b540",
  "rgb": {
    "r": 231,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 42.036,
    "s": 77.674,
    "l": 57.843
  },
  "oklch": {
    "l": 0.79839,
    "c": 0.1414,
    "h": 84.8
  },
  "luminance": 0.50407
}

Semantic roles & 50–950 ramp

primary
#E7B540
secondary
#2E4F9D
accent
#6DF434
background
#FFFDFB
surface
#FFF9F2
border
#D7D2CC
text
#18130A
muted
#86827D

Preview Lab

Preview with #E7B540

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

Preview Lab → · Contrast checker → · Palette generator →

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