#9A7A23#9A7A23

#9A7A23 is a mid, moderate orange. Relative luminance 0.209; OKLCH L 59.5% C 0.108 H 87.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9A7A23
RGBrgb(154, 122, 35)
HSLhsl(44, 63%, 37%)
HSVhsv(44, 77%, 60%)
CMYKcmyk(0%, 20.8%, 77.3%, 39.6%)
CIE-LABlab(52.85, 3.51, 49.35)
CIE-LCHlch(52.85, 49.48, 85.93°)
OKLaboklab(59.49% 0.0047 0.1083)
OKLCHoklch(59.49% 0.108 87.5)
XYZxyz(20.5906, 20.9118, 4.5417)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A7A23 #23439A
analogous
#9A3F23 #9A7A23 #7E9A23
triadic
#9A7A23 #239A7A #7A239A
tetradic
#9A7A23 #239A3F #23439A #9A237E
square
#9A7A23 #239A3F #23439A #9A237E
split-complementary
#9A7A23 #237E9A #3F239A
monochromatic
#362B0C #685218 #9A7A23 #CCA22E #DAB95D

Accessibility & contrast

On white

4.05
#9A7A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#9A7A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A7A23
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A7A23#FFFFFF#000000##000000
##9A7A231.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897914
Deuteranopia (green-blind)
#918228
Tritanopia (blue-blind)
#A76F69
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9a7a23;
/* rgb */ color: rgb(154, 122, 35);
/* oklch */ color: oklch(59.5% 0.108 87.5);
Tailwind
colors: {
  custom: {
    50: '#bca065',
    500: '#9a7a23',
    950: '#000000',
  },
}
SCSS
$custom: #9a7a23;
$custom-light: #bca065;
$custom-dark: #000000;
JSON
{
  "hex": "#9a7a23",
  "rgb": {
    "r": 154,
    "g": 122,
    "b": 35
  },
  "hsl": {
    "h": 43.866,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59489,
    "c": 0.1084,
    "h": 87.5
  },
  "luminance": 0.2091
}

Semantic roles & 50–950 ramp

primary
#9A7A23
secondary
#5A75BF
accent
#6EE642
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A

Preview Lab

Preview with #9A7A23

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

Preview Lab → · Contrast checker → · Palette generator →

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