#9A7822#9A7822

#9A7822 is a mid, moderate orange. Relative luminance 0.204; OKLCH L 59.1% C 0.108 H 85.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9A7822
RGBrgb(154, 120, 34)
HSLhsl(43, 64%, 37%)
HSVhsv(43, 78%, 60%)
CMYKcmyk(0%, 22.1%, 77.9%, 39.6%)
CIE-LABlab(52.31, 4.60, 49.23)
CIE-LCHlch(52.31, 49.44, 84.66°)
OKLaboklab(59.06% 0.0077 0.1078)
OKLCHoklch(59.06% 0.108 85.9)
XYZxyz(20.3329, 20.4199, 4.3836)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A7822 #22449A
analogous
#9A3C22 #9A7822 #809A22
triadic
#9A7822 #229A78 #78229A
tetradic
#9A7822 #229A3C #22449A #9A2280
square
#9A7822 #229A3C #22449A #9A2280
split-complementary
#9A7822 #22809A #3C229A
monochromatic
#362A0C #685117 #9A7822 #CC9F2D #DBB75B

Accessibility & contrast

On white

4.13
#9A7822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#9A7822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A7822
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A7822#FFFFFF#000000##000000
##9A78221.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877813
Deuteranopia (green-blind)
#8F8026
Tritanopia (blue-blind)
#A76D67
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9a7822;
/* rgb */ color: rgb(154, 120, 34);
/* oklch */ color: oklch(59.1% 0.108 85.9);
Tailwind
colors: {
  custom: {
    50: '#bc9e64',
    500: '#9a7822',
    950: '#000000',
  },
}
SCSS
$custom: #9a7822;
$custom-light: #bc9e64;
$custom-dark: #000000;
JSON
{
  "hex": "#9a7822",
  "rgb": {
    "r": 154,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 43,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59058,
    "c": 0.10808,
    "h": 85.9
  },
  "luminance": 0.20418
}

Semantic roles & 50–950 ramp

primary
#9A7822
secondary
#5876BF
accent
#70E741
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A

Preview Lab

Preview with #9A7822

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

Preview Lab → · Contrast checker → · Palette generator →

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