#9F7E2F#9F7E2F

#9F7E2F is a mid, moderate orange. Relative luminance 0.225; OKLCH L 61.0% C 0.104 H 85.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9F7E2F
RGBrgb(159, 126, 47)
HSLhsl(42, 54%, 40%)
HSVhsv(42, 70%, 62%)
CMYKcmyk(0%, 20.8%, 70.4%, 37.6%)
CIE-LABlab(54.55, 4.15, 46.14)
CIE-LCHlch(54.55, 46.33, 84.86°)
OKLaboklab(60.98% 0.0077 0.1037)
OKLCHoklch(60.98% 0.104 85.8)
XYZxyz(22.2733, 22.4993, 5.8584)
Luminance0.2250 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7E2F #2F509F
analogous
#9F462F #9F7E2F #889F2F
triadic
#9F7E2F #2F9F7E #7E2F9F
tetradic
#9F7E2F #2F9F46 #2F509F #9F2F88
square
#9F7E2F #2F9F46 #2F509F #9F2F88
split-complementary
#9F7E2F #2F889F #462F9F
monochromatic
#413313 #705921 #9F7E2F #C8A144 #D6B873

Accessibility & contrast

On white

3.82
#9F7E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#9F7E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7E2F
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7E2F#FFFFFF#000000##000000
##9F7E2F1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D25
Deuteranopia (green-blind)
#958632
Tritanopia (blue-blind)
#AC736E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9f7e2f;
/* rgb */ color: rgb(159, 126, 47);
/* oklch */ color: oklch(61.0% 0.104 85.8);
Tailwind
colors: {
  custom: {
    50: '#bfa36c',
    500: '#9f7e2f',
    950: '#000000',
  },
}
SCSS
$custom: #9f7e2f;
$custom-light: #bfa36c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7e2f",
  "rgb": {
    "r": 159,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 42.321,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.60977,
    "c": 0.10396,
    "h": 85.8
  },
  "luminance": 0.22498
}

Semantic roles & 50–950 ramp

primary
#9F7E2F
secondary
#6D84BD
accent
#76DE4A
background
#FCF9F6
surface
#F8F2EC
border
#D1CCC7
text
#130F07
muted
#827E7A

Preview Lab

Preview with #9F7E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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