#9E7E22#9E7E22

#9E7E22 is a mid, moderate orange. Relative luminance 0.223; OKLCH L 60.8% C 0.112 H 88.5°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#9E7E22
RGBrgb(158, 126, 34)
HSLhsl(45, 65%, 38%)
HSVhsv(45, 78%, 62%)
CMYKcmyk(0%, 20.3%, 78.5%, 38%)
CIE-LABlab(54.35, 3.06, 51.30)
CIE-LCHlch(54.35, 51.39, 86.59°)
OKLaboklab(60.77% 0.003 0.112)
OKLCHoklch(60.77% 0.112 88.5)
XYZxyz(21.8515, 22.3078, 4.6680)
Luminance0.2231 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7E22 #22429E
analogous
#9E4022 #9E7E22 #809E22
triadic
#9E7E22 #229E7E #7E229E
tetradic
#9E7E22 #229E40 #22429E #9E2280
square
#9E7E22 #229E40 #22429E #9E2280
split-complementary
#9E7E22 #22809E #40229E
monochromatic
#392E0C #6C5617 #9E7E22 #D0A62D #DCBC5E

Accessibility & contrast

On white

3.85
#9E7E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#9E7E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7E22
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7E22#FFFFFF#000000##000000
##9E7E221.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D11
Deuteranopia (green-blind)
#958627
Tritanopia (blue-blind)
#AC726C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9e7e22;
/* rgb */ color: rgb(158, 126, 34);
/* oklch */ color: oklch(60.8% 0.112 88.5);
Tailwind
colors: {
  custom: {
    50: '#bfa365',
    500: '#9e7e22',
    950: '#000000',
  },
}
SCSS
$custom: #9e7e22;
$custom-light: #bfa365;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7e22",
  "rgb": {
    "r": 158,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 44.516,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.60765,
    "c": 0.11208,
    "h": 88.5
  },
  "luminance": 0.22306
}

Semantic roles & 50–950 ramp

primary
#9E7E22
secondary
#5B75C1
accent
#6BE840
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130F06
muted
#827E7A

Preview Lab

Preview with #9E7E22

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

Preview Lab → · Contrast checker → · Palette generator →

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