#9F791C#9F791C

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

Color values

HEX#9F791C
RGBrgb(159, 121, 28)
HSLhsl(43, 70%, 37%)
HSVhsv(43, 82%, 62%)
CMYKcmyk(0%, 23.9%, 82.4%, 37.6%)
CIE-LABlab(53.09, 6.11, 52.35)
CIE-LCHlch(53.09, 52.70, 83.34°)
OKLaboklab(59.79% 0.0111 0.1129)
OKLCHoklch(59.79% 0.113 84.4)
XYZxyz(21.3465, 21.1311, 4.0528)
Luminance0.2113 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F791C #1C429F
analogous
#9F371C #9F791C #849F1C
triadic
#9F791C #1C9F79 #791C9F
tetradic
#9F791C #1C9F37 #1C429F #9F1C84
square
#9F791C #1C9F37 #1C429F #9F1C84
split-complementary
#9F791C #1C849F #371C9F
monochromatic
#372A0A #6B5113 #9F791C #D3A125 #E1B854

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F791C#FFFFFF#000000##000000
##9F791C1.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)
#897906
Deuteranopia (green-blind)
#928321
Tritanopia (blue-blind)
#AD6D68
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9f791c;
/* rgb */ color: rgb(159, 121, 28);
/* oklch */ color: oklch(59.8% 0.113 84.4);
Tailwind
colors: {
  custom: {
    50: '#c09f61',
    500: '#9f791c',
    950: '#000000',
  },
}
SCSS
$custom: #9f791c;
$custom-light: #c09f61;
$custom-dark: #000000;
JSON
{
  "hex": "#9f791c",
  "rgb": {
    "r": 159,
    "g": 121,
    "b": 28
  },
  "hsl": {
    "h": 42.595,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59789,
    "c": 0.11343,
    "h": 84.4
  },
  "luminance": 0.2113
}

Semantic roles & 50–950 ramp

primary
#9F791C
secondary
#5374C4
accent
#6FED3B
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9F791C

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

Preview Lab → · Contrast checker → · Palette generator →

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