#E7B542#E7B542

#E7B542 is a light, vivid orange. Relative luminance 0.504; OKLCH L 79.9% C 0.140 H 84.5°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#E7B542
RGBrgb(231, 181, 66)
HSLhsl(42, 77%, 58%)
HSVhsv(42, 71%, 91%)
CMYKcmyk(0%, 21.6%, 71.4%, 9.4%)
CIE-LABlab(76.33, 6.88, 62.70)
CIE-LCHlch(76.33, 63.08, 83.74°)
OKLaboklab(79.86% 0.0134 0.1395)
OKLCHoklch(79.86% 0.14 84.5)
XYZxyz(50.4653, 50.4335, 12.2298)
Luminance0.5043 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7B542 #4274E7
analogous
#E76242 #E7B542 #C7E742
triadic
#E7B542 #42E7B5 #B542E7
tetradic
#E7B542 #42E762 #4274E7 #E742C7
square
#E7B542 #42E762 #4274E7 #E742C7
split-complementary
#E7B542 #42C7E7 #6242E7
monochromatic
#9B7214 #D19A1B #E7B542 #EECA78 #F5E0AF

Accessibility & contrast

On white

1.89
#E7B542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#E7B542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7B542
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7B542#FFFFFF#000000##000000
##E7B5421.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB532
Deuteranopia (green-blind)
#D7C247
Tritanopia (blue-blind)
#FAA59E
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #e7b542;
/* rgb */ color: rgb(231, 181, 66);
/* oklch */ color: oklch(79.9% 0.140 84.5);
Tailwind
colors: {
  custom: {
    50: '#f3ca7d',
    500: '#e7b542',
    950: '#000000',
  },
}
SCSS
$custom: #e7b542;
$custom-light: #f3ca7d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7b542",
  "rgb": {
    "r": 231,
    "g": 181,
    "b": 66
  },
  "hsl": {
    "h": 41.818,
    "s": 77.465,
    "l": 58.235
  },
  "oklch": {
    "l": 0.79855,
    "c": 0.14017,
    "h": 84.5
  },
  "luminance": 0.5043
}

Semantic roles & 50–950 ramp

primary
#E7B542
secondary
#2F519E
accent
#6EF434
background
#FFFDFB
surface
#FFF9F2
border
#D7D2CC
text
#18130A
muted
#86827D

Preview Lab

Preview with #E7B542

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

Preview Lab → · Contrast checker → · Palette generator →

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