#9E7B2A#9E7B2A

#9E7B2A is a mid, moderate orange. Relative luminance 0.216; OKLCH L 60.2% C 0.106 H 84.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9E7B2A
RGBrgb(158, 123, 42)
HSLhsl(42, 58%, 39%)
HSVhsv(42, 73%, 62%)
CMYKcmyk(0%, 22.2%, 73.4%, 38%)
CIE-LABlab(53.60, 5.12, 47.34)
CIE-LCHlch(53.60, 47.62, 83.83°)
OKLaboklab(60.19% 0.0099 0.1053)
OKLCHoklch(60.19% 0.106 84.6)
XYZxyz(21.6027, 21.6037, 5.2222)
Luminance0.2160 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7B2A #2A4D9E
analogous
#9E412A #9E7B2A #879E2A
triadic
#9E7B2A #2A9E7B #7B2A9E
tetradic
#9E7B2A #2A9E41 #2A4D9E #9E2A87
square
#9E7B2A #2A9E41 #2A4D9E #9E2A87
split-complementary
#9E7B2A #2A879E #412A9E
monochromatic
#3D3010 #6E551D #9E7B2A #CB9F3A #D8B76B

Accessibility & contrast

On white

3.95
#9E7B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#9E7B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7B2A
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7B2A#FFFFFF#000000##000000
##9E7B2A1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B1F
Deuteranopia (green-blind)
#93842E
Tritanopia (blue-blind)
#AC706B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9e7b2a;
/* rgb */ color: rgb(158, 123, 42);
/* oklch */ color: oklch(60.2% 0.106 84.6);
Tailwind
colors: {
  custom: {
    50: '#bfa069',
    500: '#9e7b2a',
    950: '#000000',
  },
}
SCSS
$custom: #9e7b2a;
$custom-light: #bfa069;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7b2a",
  "rgb": {
    "r": 158,
    "g": 123,
    "b": 42
  },
  "hsl": {
    "h": 41.897,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.60194,
    "c": 0.10577,
    "h": 84.6
  },
  "luminance": 0.21602
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E7B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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