#9B7F2E#9B7F2E

#9B7F2E is a mid, moderate orange. Relative luminance 0.223; OKLCH L 60.8% C 0.104 H 89.6°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9B7F2E
RGBrgb(155, 127, 46)
HSLhsl(45, 54%, 39%)
HSVhsv(45, 70%, 61%)
CMYKcmyk(0%, 18.1%, 70.3%, 39.2%)
CIE-LABlab(54.39, 1.72, 46.29)
CIE-LCHlch(54.39, 46.32, 87.88°)
OKLaboklab(60.75% 0.0008 0.104)
OKLCHoklch(60.75% 0.104 89.6)
XYZxyz(21.6013, 22.3459, 5.7597)
Luminance0.2235 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B7F2E #2E4A9B
analogous
#9B492E #9B7F2E #819B2E
triadic
#9B7F2E #2E9B7F #7F2E9B
tetradic
#9B7F2E #2E9B49 #2E4A9B #9B2E81
square
#9B7F2E #2E9B49 #2E4A9B #9B2E81
split-complementary
#9B7F2E #2E819B #492E9B
monochromatic
#3D3212 #6C5820 #9B7F2E #C6A440 #D4BA6F

Accessibility & contrast

On white

3.84
#9B7F2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#9B7F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B7F2E
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B7F2E#FFFFFF#000000##000000
##9B7F2E1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E24
Deuteranopia (green-blind)
#948532
Tritanopia (blue-blind)
#A8746E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9b7f2e;
/* rgb */ color: rgb(155, 127, 46);
/* oklch */ color: oklch(60.8% 0.104 89.6);
Tailwind
colors: {
  custom: {
    50: '#bca36b',
    500: '#9b7f2e',
    950: '#000000',
  },
}
SCSS
$custom: #9b7f2e;
$custom-light: #bca36b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b7f2e",
  "rgb": {
    "r": 155,
    "g": 127,
    "b": 46
  },
  "hsl": {
    "h": 44.587,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60751,
    "c": 0.10396,
    "h": 89.6
  },
  "luminance": 0.22345
}

Semantic roles & 50–950 ramp

primary
#9B7F2E
secondary
#697EBC
accent
#70DE4A
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9B7F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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