#9B7D31#9B7D31

#9B7D31 is a mid, moderate orange. Relative luminance 0.219; OKLCH L 60.4% C 0.101 H 87.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9B7D31
RGBrgb(155, 125, 49)
HSLhsl(43, 52%, 40%)
HSVhsv(43, 68%, 61%)
CMYKcmyk(0%, 19.4%, 68.4%, 39.2%)
CIE-LABlab(53.88, 3.02, 44.38)
CIE-LCHlch(53.88, 44.49, 86.11°)
OKLaboklab(60.35% 0.0049 0.1005)
OKLCHoklch(60.35% 0.101 87.2)
XYZxyz(21.4067, 21.8589, 5.9968)
Luminance0.2186 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B7D31 #314F9B
analogous
#9B4831 #9B7D31 #849B31
triadic
#9B7D31 #319B7D #7D319B
tetradic
#9B7D31 #319B48 #314F9B #9B3184
square
#9B7D31 #319B48 #314F9B #9B3184
split-complementary
#9B7D31 #31849B #48319B
monochromatic
#3E3214 #6D5822 #9B7D31 #C4A045 #D3B873

Accessibility & contrast

On white

3.91
#9B7D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#9B7D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B7D31
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B7D31#FFFFFF#000000##000000
##9B7D311.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C28
Deuteranopia (green-blind)
#938434
Tritanopia (blue-blind)
#A8726D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9b7d31;
/* rgb */ color: rgb(155, 125, 49);
/* oklch */ color: oklch(60.4% 0.101 87.2);
Tailwind
colors: {
  custom: {
    50: '#bca26d',
    500: '#9b7d31',
    950: '#000000',
  },
}
SCSS
$custom: #9b7d31;
$custom-light: #bca26d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b7d31",
  "rgb": {
    "r": 155,
    "g": 125,
    "b": 49
  },
  "hsl": {
    "h": 43.019,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.60354,
    "c": 0.10057,
    "h": 87.2
  },
  "luminance": 0.21858
}

Semantic roles & 50–950 ramp

primary
#9B7D31
secondary
#6D83BB
accent
#75DB4C
background
#FCF9F6
surface
#F8F2EC
border
#D1CCC7
text
#120F07
muted
#817E7A

Preview Lab

Preview with #9B7D31

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

Preview Lab → · Contrast checker → · Palette generator →

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