#E7B840#E7B840

#E7B840 is a light, vivid orange. Relative luminance 0.516; OKLCH L 80.4% C 0.143 H 86.6°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#E7B840
RGBrgb(231, 184, 64)
HSLhsl(43, 78%, 58%)
HSVhsv(43, 72%, 91%)
CMYKcmyk(0%, 20.3%, 72.3%, 9.4%)
CIE-LABlab(77.07, 5.21, 64.23)
CIE-LCHlch(77.07, 64.44, 85.36°)
OKLaboklab(80.43% 0.0084 0.1424)
OKLCHoklch(80.43% 0.143 86.6)
XYZxyz(51.0239, 51.6435, 12.1302)
Luminance0.5164 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7B840 #406FE7
analogous
#E76540 #E7B840 #C2E740
triadic
#E7B840 #40E7B8 #B840E7
tetradic
#E7B840 #40E765 #406FE7 #E740C2
square
#E7B840 #40E765 #406FE7 #E740C2
split-complementary
#E7B840 #40C2E7 #6540E7
monochromatic
#997413 #D09D1A #E7B840 #EECC76 #F5E0AD

Accessibility & contrast

On white

1.85
#E7B840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#E7B840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7B840
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7B840#FFFFFF#000000##000000
##E7B8401.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7b840;
/* rgb */ color: rgb(231, 184, 64);
/* oklch */ color: oklch(80.4% 0.143 86.6);
Tailwind
colors: {
  custom: {
    50: '#f3cd7c',
    500: '#e7b840',
    950: '#000000',
  },
}
SCSS
$custom: #e7b840;
$custom-light: #f3cd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7b840",
  "rgb": {
    "r": 231,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 43.114,
    "s": 77.674,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80426,
    "c": 0.14264,
    "h": 86.6
  },
  "luminance": 0.5164
}

Semantic roles & 50–950 ramp

primary
#E7B840
secondary
#2E4D9D
accent
#6AF434
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#18130A
muted
#86837D

Preview Lab

Preview with #E7B840

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

Preview Lab → · Contrast checker → · Palette generator →

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