#E7B640#E7B640

#E7B640 is a light, vivid orange. Relative luminance 0.508; OKLCH L 80.0% C 0.142 H 85.4°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#E7B640
RGBrgb(231, 182, 64)
HSLhsl(42, 78%, 58%)
HSVhsv(42, 72%, 91%)
CMYKcmyk(0%, 21.2%, 72.3%, 9.4%)
CIE-LABlab(76.57, 6.26, 63.73)
CIE-LCHlch(76.57, 64.04, 84.39°)
OKLaboklab(80.03% 0.0114 0.1413)
OKLCHoklch(80.03% 0.142 85.4)
XYZxyz(50.6114, 50.8184, 11.9927)
Luminance0.5081 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7B640 #4071E7
analogous
#E76240 #E7B640 #C5E740
triadic
#E7B640 #40E7B6 #B640E7
tetradic
#E7B640 #40E762 #4071E7 #E740C5
square
#E7B640 #40E762 #4071E7 #E740C5
split-complementary
#E7B640 #40C5E7 #6240E7
monochromatic
#997213 #D09A1A #E7B640 #EECB76 #F5E0AD

Accessibility & contrast

On white

1.88
#E7B640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.16
#E7B640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7B640
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7B640#FFFFFF#000000##000000
##E7B6401.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB52F
Deuteranopia (green-blind)
#D8C245
Tritanopia (blue-blind)
#FAA69E
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #e7b640;
/* rgb */ color: rgb(231, 182, 64);
/* oklch */ color: oklch(80.0% 0.142 85.4);
Tailwind
colors: {
  custom: {
    50: '#f3cb7c',
    500: '#e7b640',
    950: '#000000',
  },
}
SCSS
$custom: #e7b640;
$custom-light: #f3cb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7b640",
  "rgb": {
    "r": 231,
    "g": 182,
    "b": 64
  },
  "hsl": {
    "h": 42.395,
    "s": 77.674,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80034,
    "c": 0.1418,
    "h": 85.4
  },
  "luminance": 0.50815
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7B640

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

Preview Lab → · Contrast checker → · Palette generator →

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