#9F791F#9F791F

#9F791F is a mid, moderate orange. Relative luminance 0.211; OKLCH L 59.8% C 0.112 H 84.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9F791F
RGBrgb(159, 121, 31)
HSLhsl(42, 67%, 37%)
HSVhsv(42, 81%, 62%)
CMYKcmyk(0%, 23.9%, 80.5%, 37.6%)
CIE-LABlab(53.11, 6.22, 51.30)
CIE-LCHlch(53.11, 51.68, 83.09°)
OKLaboklab(59.81% 0.0117 0.1113)
OKLCHoklch(59.81% 0.112 84)
XYZxyz(21.3842, 21.1462, 4.2514)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F791F #1F459F
analogous
#9F391F #9F791F #859F1F
triadic
#9F791F #1F9F79 #791F9F
tetradic
#9F791F #1F9F39 #1F459F #9F1F85
square
#9F791F #1F9F39 #1F459F #9F1F85
split-complementary
#9F791F #1F859F #391F9F
monochromatic
#392B0B #6C5215 #9F791F #D2A029 #DFB75A

Accessibility & contrast

On white

4.02
#9F791F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#9F791F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F791F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F791F#FFFFFF#000000##000000
##9F791F1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790D
Deuteranopia (green-blind)
#928324
Tritanopia (blue-blind)
#AD6D68
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9f791f;
/* rgb */ color: rgb(159, 121, 31);
/* oklch */ color: oklch(59.8% 0.112 84.0);
Tailwind
colors: {
  custom: {
    50: '#c09f63',
    500: '#9f791f',
    950: '#000000',
  },
}
SCSS
$custom: #9f791f;
$custom-light: #c09f63;
$custom-dark: #000000;
JSON
{
  "hex": "#9f791f",
  "rgb": {
    "r": 159,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 42.188,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59807,
    "c": 0.11193,
    "h": 84
  },
  "luminance": 0.21145
}

Semantic roles & 50–950 ramp

primary
#9F791F
secondary
#5777C3
accent
#71EA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A

Preview Lab

Preview with #9F791F

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

Preview Lab → · Contrast checker → · Palette generator →

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