#9B731B#9B731B

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

Color values

HEX#9B731B
RGBrgb(155, 115, 27)
HSLhsl(41, 70%, 36%)
HSVhsv(41, 83%, 61%)
CMYKcmyk(0%, 25.8%, 82.6%, 39.2%)
CIE-LABlab(51.05, 7.63, 50.71)
CIE-LCHlch(51.05, 51.28, 81.44°)
OKLaboklab(58.08% 0.0156 0.1093)
OKLCHoklch(58.08% 0.11 81.9)
XYZxyz(19.8475, 19.3107, 3.7187)
Luminance0.1931 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B731B #1B439B
analogous
#9B331B #9B731B #839B1B
triadic
#9B731B #1B9B73 #731B9B
tetradic
#9B731B #1B9B33 #1B439B #9B1B83
square
#9B731B #1B9B33 #1B439B #9B1B83
split-complementary
#9B731B #1B839B #331B9B
monochromatic
#332609 #674C12 #9B731B #CF9A24 #E0B350

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B731B#FFFFFF#000000##000000
##9B731B1.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)
#837407
Deuteranopia (green-blind)
#8D7E20
Tritanopia (blue-blind)
#A96762
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9b731b;
/* rgb */ color: rgb(155, 115, 27);
/* oklch */ color: oklch(58.1% 0.110 81.9);
Tailwind
colors: {
  custom: {
    50: '#bd9b60',
    500: '#9b731b',
    950: '#000000',
  },
}
SCSS
$custom: #9b731b;
$custom-light: #bd9b60;
$custom-dark: #000000;
JSON
{
  "hex": "#9b731b",
  "rgb": {
    "r": 155,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 41.25,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58081,
    "c": 0.11044,
    "h": 81.9
  },
  "luminance": 0.19309
}

Semantic roles & 50–950 ramp

primary
#9B731B
secondary
#4F73C3
accent
#72ED3B
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9B731B

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

Preview Lab → · Contrast checker → · Palette generator →

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