#9F791A#9F791A

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

Color values

HEX#9F791A
RGBrgb(159, 121, 26)
HSLhsl(43, 72%, 36%)
HSVhsv(43, 84%, 62%)
CMYKcmyk(0%, 23.9%, 83.6%, 37.6%)
CIE-LABlab(53.08, 6.05, 53.01)
CIE-LCHlch(53.08, 53.35, 83.49°)
OKLaboklab(59.78% 0.0107 0.1139)
OKLCHoklch(59.78% 0.114 84.6)
XYZxyz(21.3233, 21.1218, 3.9309)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F791A #1A409F
analogous
#9F371A #9F791A #839F1A
triadic
#9F791A #1A9F79 #791A9F
tetradic
#9F791A #1A9F37 #1A409F #9F1A83
square
#9F791A #1A9F37 #1A409F #9F1A83
split-complementary
#9F791A #1A839F #371A9F
monochromatic
#362909 #6A5111 #9F791A #D4A123 #E3B951

Accessibility & contrast

On white

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

On black

5.22
#9F791A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F791A
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F791A#FFFFFF#000000##000000
##9F791A1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897901
Deuteranopia (green-blind)
#928320
Tritanopia (blue-blind)
#AD6D67
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9f791a;
/* rgb */ color: rgb(159, 121, 26);
/* oklch */ color: oklch(59.8% 0.114 84.6);
Tailwind
colors: {
  custom: {
    50: '#c09f60',
    500: '#9f791a',
    950: '#000000',
  },
}
SCSS
$custom: #9f791a;
$custom-light: #c09f60;
$custom-dark: #000000;
JSON
{
  "hex": "#9f791a",
  "rgb": {
    "r": 159,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 42.857,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59777,
    "c": 0.11436,
    "h": 84.6
  },
  "luminance": 0.2112
}

Semantic roles & 50–950 ramp

primary
#9F791A
secondary
#5071C5
accent
#6DEF39
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9F791A

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

Preview Lab → · Contrast checker → · Palette generator →

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