#9A7B22#9A7B22

#9A7B22 is a mid, moderate orange. Relative luminance 0.212; OKLCH L 59.7% C 0.109 H 88.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9A7B22
RGBrgb(154, 123, 34)
HSLhsl(45, 64%, 37%)
HSVhsv(45, 78%, 60%)
CMYKcmyk(0%, 20.1%, 77.9%, 39.6%)
CIE-LABlab(53.12, 2.91, 49.99)
CIE-LCHlch(53.12, 50.07, 86.67°)
OKLaboklab(59.69% 0.0028 0.1094)
OKLCHoklch(59.69% 0.109 88.5)
XYZxyz(20.6994, 21.1528, 4.5057)
Luminance0.2115 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A7B22 #22419A
analogous
#9A3F22 #9A7B22 #7D9A22
triadic
#9A7B22 #229A7B #7B229A
tetradic
#9A7B22 #229A3F #22419A #9A227D
square
#9A7B22 #229A3F #22419A #9A227D
split-complementary
#9A7B22 #227D9A #3F229A
monochromatic
#362B0C #685317 #9A7B22 #CCA32D #DBBA5B

Accessibility & contrast

On white

4.02
#9A7B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#9A7B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A7B22
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A7B22#FFFFFF#000000##000000
##9A7B221.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A12
Deuteranopia (green-blind)
#928227
Tritanopia (blue-blind)
#A7706A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9a7b22;
/* rgb */ color: rgb(154, 123, 34);
/* oklch */ color: oklch(59.7% 0.109 88.5);
Tailwind
colors: {
  custom: {
    50: '#bca064',
    500: '#9a7b22',
    950: '#000000',
  },
}
SCSS
$custom: #9a7b22;
$custom-light: #bca064;
$custom-dark: #000000;
JSON
{
  "hex": "#9a7b22",
  "rgb": {
    "r": 154,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 44.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59694,
    "c": 0.10948,
    "h": 88.5
  },
  "luminance": 0.21151
}

Semantic roles & 50–950 ramp

primary
#9A7B22
secondary
#5873BF
accent
#6CE741
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A

Preview Lab

Preview with #9A7B22

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

Preview Lab → · Contrast checker → · Palette generator →

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