#9F7A2F#9F7A2F

#9F7A2F is a mid, moderate orange. Relative luminance 0.215; OKLCH L 60.1% C 0.102 H 82.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9F7A2F
RGBrgb(159, 122, 47)
HSLhsl(40, 54%, 40%)
HSVhsv(40, 70%, 62%)
CMYKcmyk(0%, 23.3%, 70.4%, 37.6%)
CIE-LABlab(53.49, 6.41, 45.03)
CIE-LCHlch(53.49, 45.48, 81.90°)
OKLaboklab(60.14% 0.0142 0.1013)
OKLCHoklch(60.14% 0.102 82)
XYZxyz(21.7720, 21.4968, 5.6913)
Luminance0.2150 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7A2F #2F549F
analogous
#9F422F #9F7A2F #8C9F2F
triadic
#9F7A2F #2F9F7A #7A2F9F
tetradic
#9F7A2F #2F9F42 #2F549F #9F2F8C
square
#9F7A2F #2F9F42 #2F549F #9F2F8C
split-complementary
#9F7A2F #2F8C9F #422F9F
monochromatic
#413213 #705621 #9F7A2F #C89C44 #D6B573

Accessibility & contrast

On white

3.96
#9F7A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#9F7A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7A2F
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7A2F#FFFFFF#000000##000000
##9F7A2F1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A26
Deuteranopia (green-blind)
#928432
Tritanopia (blue-blind)
#AD6F6A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9f7a2f;
/* rgb */ color: rgb(159, 122, 47);
/* oklch */ color: oklch(60.1% 0.102 82.0);
Tailwind
colors: {
  custom: {
    50: '#bfa06c',
    500: '#9f7a2f',
    950: '#000000',
  },
}
SCSS
$custom: #9f7a2f;
$custom-light: #bfa06c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7a2f",
  "rgb": {
    "r": 159,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 40.179,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.60142,
    "c": 0.10231,
    "h": 82
  },
  "luminance": 0.21495
}

Semantic roles & 50–950 ramp

primary
#9F7A2F
secondary
#6D87BD
accent
#7BDE4A
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E07
muted
#827E7A

Preview Lab

Preview with #9F7A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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