#9B731C#9B731C

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

Color values

HEX#9B731C
RGBrgb(155, 115, 28)
HSLhsl(41, 69%, 36%)
HSVhsv(41, 82%, 61%)
CMYKcmyk(0%, 25.8%, 81.9%, 39.2%)
CIE-LABlab(51.05, 7.67, 50.36)
CIE-LCHlch(51.05, 50.94, 81.34°)
OKLaboklab(58.09% 0.0158 0.1088)
OKLCHoklch(58.09% 0.11 81.7)
XYZxyz(19.8593, 19.3154, 3.7807)
Luminance0.1931 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B731C #1C449B
analogous
#9B331C #9B731C #839B1C
triadic
#9B731C #1C9B73 #731C9B
tetradic
#9B731C #1C9B33 #1C449B #9B1C83
square
#9B731C #1C9B33 #1C449B #9B1C83
split-complementary
#9B731C #1C839B #331C9B
monochromatic
#332609 #674D13 #9B731C #CF9925 #E0B352

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B731C#FFFFFF#000000##000000
##9B731C1.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)
#837409
Deuteranopia (green-blind)
#8D7E20
Tritanopia (blue-blind)
#A96763
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9b731c;
/* rgb */ color: rgb(155, 115, 28);
/* oklch */ color: oklch(58.1% 0.110 81.7);
Tailwind
colors: {
  custom: {
    50: '#bd9b60',
    500: '#9b731c',
    950: '#000000',
  },
}
SCSS
$custom: #9b731c;
$custom-light: #bd9b60;
$custom-dark: #000000;
JSON
{
  "hex": "#9b731c",
  "rgb": {
    "r": 155,
    "g": 115,
    "b": 28
  },
  "hsl": {
    "h": 41.102,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58087,
    "c": 0.10996,
    "h": 81.7
  },
  "luminance": 0.19314
}

Semantic roles & 50–950 ramp

primary
#9B731C
secondary
#5074C3
accent
#73EC3C
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9B731C

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

Preview Lab → · Contrast checker → · Palette generator →

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