#9E7C2A#9E7C2A

#9E7C2A is a mid, moderate orange. Relative luminance 0.219; OKLCH L 60.4% C 0.106 H 85.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9E7C2A
RGBrgb(158, 124, 42)
HSLhsl(42, 58%, 39%)
HSVhsv(42, 73%, 62%)
CMYKcmyk(0%, 21.5%, 73.4%, 38%)
CIE-LABlab(53.87, 4.56, 47.61)
CIE-LCHlch(53.87, 47.83, 84.53°)
OKLaboklab(60.4% 0.0083 0.1059)
OKLCHoklch(60.4% 0.106 85.5)
XYZxyz(21.7274, 21.8530, 5.2637)
Luminance0.2185 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7C2A #2A4C9E
analogous
#9E422A #9E7C2A #869E2A
triadic
#9E7C2A #2A9E7C #7C2A9E
tetradic
#9E7C2A #2A9E42 #2A4C9E #9E2A86
square
#9E7C2A #2A9E42 #2A4C9E #9E2A86
split-complementary
#9E7C2A #2A869E #422A9E
monochromatic
#3D3010 #6E561D #9E7C2A #CBA03A #D8B86B

Accessibility & contrast

On white

3.91
#9E7C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#9E7C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7C2A
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7C2A#FFFFFF#000000##000000
##9E7C2A1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C1E
Deuteranopia (green-blind)
#93842E
Tritanopia (blue-blind)
#AB716B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9e7c2a;
/* rgb */ color: rgb(158, 124, 42);
/* oklch */ color: oklch(60.4% 0.106 85.5);
Tailwind
colors: {
  custom: {
    50: '#bea169',
    500: '#9e7c2a',
    950: '#000000',
  },
}
SCSS
$custom: #9e7c2a;
$custom-light: #bea169;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7c2a",
  "rgb": {
    "r": 158,
    "g": 124,
    "b": 42
  },
  "hsl": {
    "h": 42.414,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.60404,
    "c": 0.1062,
    "h": 85.5
  },
  "luminance": 0.21852
}

Semantic roles & 50–950 ramp

primary
#9E7C2A
secondary
#6680BE
accent
#74E147
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A

Preview Lab

Preview with #9E7C2A

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

Preview Lab → · Contrast checker → · Palette generator →

#9E7C2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva