#E7B940#E7B940

#E7B940 is a light, vivid orange. Relative luminance 0.521; OKLCH L 80.6% C 0.143 H 87.3°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#E7B940
RGBrgb(231, 185, 64)
HSLhsl(43, 78%, 58%)
HSVhsv(43, 72%, 91%)
CMYKcmyk(0%, 19.9%, 72.3%, 9.4%)
CIE-LABlab(77.32, 4.69, 64.47)
CIE-LCHlch(77.32, 64.64, 85.84°)
OKLaboklab(80.62% 0.0069 0.1429)
OKLCHoklch(80.62% 0.143 87.3)
XYZxyz(51.2324, 52.0604, 12.1997)
Luminance0.5206 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7B940 #406EE7
analogous
#E76540 #E7B940 #C1E740
triadic
#E7B940 #40E7B9 #B940E7
tetradic
#E7B940 #40E765 #406EE7 #E740C1
square
#E7B940 #40E765 #406EE7 #E740C1
split-complementary
#E7B940 #40C1E7 #6540E7
monochromatic
#997413 #D09E1A #E7B940 #EECD76 #F5E1AD

Accessibility & contrast

On white

1.84
#E7B940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#E7B940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7B940
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7B940#FFFFFF#000000##000000
##E7B9401.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82E
Deuteranopia (green-blind)
#DAC446
Tritanopia (blue-blind)
#FAA9A1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e7b940;
/* rgb */ color: rgb(231, 185, 64);
/* oklch */ color: oklch(80.6% 0.143 87.3);
Tailwind
colors: {
  custom: {
    50: '#f3cd7c',
    500: '#e7b940',
    950: '#000000',
  },
}
SCSS
$custom: #e7b940;
$custom-light: #f3cd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7b940",
  "rgb": {
    "r": 231,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 43.473,
    "s": 77.674,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80623,
    "c": 0.14307,
    "h": 87.3
  },
  "luminance": 0.52057
}

Semantic roles & 50–950 ramp

primary
#E7B940
secondary
#2E4D9D
accent
#69F434
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#18130A
muted
#86837D

Preview Lab

Preview with #E7B940

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

Preview Lab → · Contrast checker → · Palette generator →

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