#9B731A#9B731A

#9B731A is a mid, moderate orange. Relative luminance 0.193; OKLCH L 58.1% C 0.111 H 82.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9B731A
RGBrgb(155, 115, 26)
HSLhsl(41, 71%, 35%)
HSVhsv(41, 83%, 61%)
CMYKcmyk(0%, 25.8%, 83.2%, 39.2%)
CIE-LABlab(51.04, 7.60, 51.05)
CIE-LCHlch(51.04, 51.62, 81.53°)
OKLaboklab(58.08% 0.0154 0.1099)
OKLCHoklch(58.08% 0.111 82)
XYZxyz(19.8361, 19.3062, 3.6588)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B731A #1A429B
analogous
#9B321A #9B731A #839B1A
triadic
#9B731A #1A9B73 #731A9B
tetradic
#9B731A #1A9B32 #1A429B #9B1A83
square
#9B731A #1A9B32 #1A429B #9B1A83
split-complementary
#9B731A #1A839B #321A9B
monochromatic
#322508 #674C11 #9B731A #CF9A23 #E1B44E

Accessibility & contrast

On white

4.32
#9B731A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#9B731A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B731A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B731A#FFFFFF#000000##000000
##9B731A1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#837404
Deuteranopia (green-blind)
#8D7E1F
Tritanopia (blue-blind)
#A96762
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9b731a;
/* rgb */ color: rgb(155, 115, 26);
/* oklch */ color: oklch(58.1% 0.111 82.0);
Tailwind
colors: {
  custom: {
    50: '#bd9b5f',
    500: '#9b731a',
    950: '#000000',
  },
}
SCSS
$custom: #9b731a;
$custom-light: #bd9b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#9b731a",
  "rgb": {
    "r": 155,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 41.395,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58076,
    "c": 0.11092,
    "h": 82
  },
  "luminance": 0.19305
}

Semantic roles & 50–950 ramp

primary
#9B731A
secondary
#4D72C4
accent
#72EE3A
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9B731A

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

Preview Lab → · Contrast checker → · Palette generator →

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