#9F7B1B#9F7B1B

#9F7B1B is a mid, moderate orange. Relative luminance 0.216; OKLCH L 60.2% C 0.115 H 86.2°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9F7B1B
RGBrgb(159, 123, 27)
HSLhsl(44, 71%, 36%)
HSVhsv(44, 83%, 62%)
CMYKcmyk(0%, 22.6%, 83%, 37.6%)
CIE-LABlab(53.62, 4.95, 53.15)
CIE-LCHlch(53.62, 53.38, 84.68°)
OKLaboklab(60.2% 0.0076 0.1144)
OKLCHoklch(60.2% 0.115 86.2)
XYZxyz(21.5803, 21.6175, 4.0727)
Luminance0.2162 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7B1B #1B3F9F
analogous
#9F391B #9F7B1B #819F1B
triadic
#9F7B1B #1B9F7B #7B1B9F
tetradic
#9F7B1B #1B9F39 #1B3F9F #9F1B81
square
#9F7B1B #1B9F39 #1B3F9F #9F1B81
split-complementary
#9F7B1B #1B819F #391B9F
monochromatic
#362A09 #6B5312 #9F7B1B #D3A324 #E2BB53

Accessibility & contrast

On white

3.94
#9F7B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#9F7B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7B1B
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7B1B#FFFFFF#000000##000000
##9F7B1B1.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B02
Deuteranopia (green-blind)
#948421
Tritanopia (blue-blind)
#AD6F69
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9f7b1b;
/* rgb */ color: rgb(159, 123, 27);
/* oklch */ color: oklch(60.2% 0.115 86.2);
Tailwind
colors: {
  custom: {
    50: '#c0a061',
    500: '#9f7b1b',
    950: '#000000',
  },
}
SCSS
$custom: #9f7b1b;
$custom-light: #c0a061;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7b1b",
  "rgb": {
    "r": 159,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 43.636,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.602,
    "c": 0.11464,
    "h": 86.2
  },
  "luminance": 0.21616
}

Semantic roles & 50–950 ramp

primary
#9F7B1B
secondary
#5171C5
accent
#6BEE3A
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9F7B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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