#E7B242#E7B242

#E7B242 is a light, vivid orange. Relative luminance 0.492; OKLCH L 79.3% C 0.139 H 82.6°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#E7B242
RGBrgb(231, 178, 66)
HSLhsl(41, 77%, 58%)
HSVhsv(41, 71%, 91%)
CMYKcmyk(0%, 22.9%, 71.4%, 9.4%)
CIE-LABlab(75.59, 8.46, 61.95)
CIE-LCHlch(75.59, 62.53, 82.22°)
OKLaboklab(79.27% 0.018 0.1379)
OKLCHoklch(79.27% 0.139 82.6)
XYZxyz(49.8619, 49.2266, 12.0287)
Luminance0.4922 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7B242 #4277E7
analogous
#E75F42 #E7B242 #CAE742
triadic
#E7B242 #42E7B2 #B242E7
tetradic
#E7B242 #42E75F #4277E7 #E742CA
square
#E7B242 #42E75F #4277E7 #E742CA
split-complementary
#E7B242 #42CAE7 #5F42E7
monochromatic
#9B6F14 #D1971B #E7B242 #EEC878 #F5DEAF

Accessibility & contrast

On white

1.94
#E7B242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#E7B242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7B242
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7B242#FFFFFF#000000##000000
##E7B2421.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B233
Deuteranopia (green-blind)
#D5C047
Tritanopia (blue-blind)
#FAA29B
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #e7b242;
/* rgb */ color: rgb(231, 178, 66);
/* oklch */ color: oklch(79.3% 0.139 82.6);
Tailwind
colors: {
  custom: {
    50: '#f3c87d',
    500: '#e7b242',
    950: '#000000',
  },
}
SCSS
$custom: #e7b242;
$custom-light: #f3c87d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7b242",
  "rgb": {
    "r": 231,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 40.727,
    "s": 77.465,
    "l": 58.235
  },
  "oklch": {
    "l": 0.79272,
    "c": 0.13911,
    "h": 82.6
  },
  "luminance": 0.49223
}

Semantic roles & 50–950 ramp

primary
#E7B242
secondary
#A2B7E3
accent
#72F434
background
#FFFCF7
surface
#FFF8EE
border
#D7D1C9
text
#18130A
muted
#86827C

Preview Lab

Preview with #E7B242

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

Preview Lab → · Contrast checker → · Palette generator →

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