#9B7A1A#9B7A1A

#9B7A1A is a mid, moderate orange. Relative luminance 0.210; OKLCH L 59.5% C 0.113 H 88.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9B7A1A
RGBrgb(155, 122, 26)
HSLhsl(45, 71%, 35%)
HSVhsv(45, 83%, 61%)
CMYKcmyk(0%, 21.3%, 83.2%, 39.2%)
CIE-LABlab(52.91, 3.63, 52.69)
CIE-LCHlch(52.91, 52.81, 86.06°)
OKLaboklab(59.54% 0.004 0.1134)
OKLCHoklch(59.54% 0.113 88)
XYZxyz(20.6649, 20.9636, 3.9351)
Luminance0.2096 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B7A1A #1A3B9B
analogous
#9B391A #9B7A1A #7B9B1A
triadic
#9B7A1A #1A9B7A #7A1A9B
tetradic
#9B7A1A #1A9B39 #1A3B9B #9B1A7B
square
#9B7A1A #1A9B39 #1A3B9B #9B1A7B
split-complementary
#9B7A1A #1A7B9B #391A9B
monochromatic
#322708 #675111 #9B7A1A #CFA323 #E1BC4E

Accessibility & contrast

On white

4.04
#9B7A1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#9B7A1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B7A1A
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B7A1A#FFFFFF#000000##000000
##9B7A1A1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7901
Deuteranopia (green-blind)
#928220
Tritanopia (blue-blind)
#A96E68
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9b7a1a;
/* rgb */ color: rgb(155, 122, 26);
/* oklch */ color: oklch(59.5% 0.113 88.0);
Tailwind
colors: {
  custom: {
    50: '#bda060',
    500: '#9b7a1a',
    950: '#000000',
  },
}
SCSS
$custom: #9b7a1a;
$custom-light: #bda060;
$custom-dark: #000000;
JSON
{
  "hex": "#9b7a1a",
  "rgb": {
    "r": 155,
    "g": 122,
    "b": 26
  },
  "hsl": {
    "h": 44.651,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59542,
    "c": 0.11347,
    "h": 88
  },
  "luminance": 0.20962
}

Semantic roles & 50–950 ramp

primary
#9B7A1A
secondary
#4D6CC4
accent
#68EE3A
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9B7A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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