#9B731F#9B731F

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

Color values

HEX#9B731F
RGBrgb(155, 115, 31)
HSLhsl(41, 67%, 36%)
HSVhsv(41, 80%, 61%)
CMYKcmyk(0%, 25.8%, 80%, 39.2%)
CIE-LABlab(51.07, 7.78, 49.27)
CIE-LCHlch(51.07, 49.88, 81.02°)
OKLaboklab(58.11% 0.0164 0.1072)
OKLCHoklch(58.11% 0.108 81.3)
XYZxyz(19.8970, 19.3305, 3.9793)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B731F #1F479B
analogous
#9B351F #9B731F #859B1F
triadic
#9B731F #1F9B73 #731F9B
tetradic
#9B731F #1F9B35 #1F479B #9B1F85
square
#9B731F #1F9B35 #1F479B #9B1F85
split-complementary
#9B731F #1F859B #351F9B
monochromatic
#35270B #684D15 #9B731F #CE9929 #DDB257

Accessibility & contrast

On white

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

On black

4.87
#9B731F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B731F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B731F#FFFFFF#000000##000000
##9B731F1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#83740F
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#A96763
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9b731f;
/* rgb */ color: rgb(155, 115, 31);
/* oklch */ color: oklch(58.1% 0.108 81.3);
Tailwind
colors: {
  custom: {
    50: '#bd9b62',
    500: '#9b731f',
    950: '#000000',
  },
}
SCSS
$custom: #9b731f;
$custom-light: #bd9b62;
$custom-dark: #000000;
JSON
{
  "hex": "#9b731f",
  "rgb": {
    "r": 155,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 40.645,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58107,
    "c": 0.10842,
    "h": 81.3
  },
  "luminance": 0.19329
}

Semantic roles & 50–950 ramp

primary
#9B731F
secondary
#5578C1
accent
#75EA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9B731F

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

Preview Lab → · Contrast checker → · Palette generator →

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