#9F791E#9F791E

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

Color values

HEX#9F791E
RGBrgb(159, 121, 30)
HSLhsl(42, 68%, 37%)
HSVhsv(42, 81%, 62%)
CMYKcmyk(0%, 23.9%, 81.1%, 37.6%)
CIE-LABlab(53.10, 6.18, 51.66)
CIE-LCHlch(53.10, 52.03, 83.18°)
OKLaboklab(59.8% 0.0115 0.1119)
OKLCHoklch(59.8% 0.112 84.1)
XYZxyz(21.3712, 21.1410, 4.1831)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F791E #1E449F
analogous
#9F391E #9F791E #849F1E
triadic
#9F791E #1E9F79 #791E9F
tetradic
#9F791E #1E9F39 #1E449F #9F1E84
square
#9F791E #1E9F39 #1E449F #9F1E84
split-complementary
#9F791E #1E849F #391E9F
monochromatic
#382B0B #6C5214 #9F791E #D2A028 #DFB858

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F791E#FFFFFF#000000##000000
##9F791E1.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)
#89790A
Deuteranopia (green-blind)
#928323
Tritanopia (blue-blind)
#AD6D68
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9f791e;
/* rgb */ color: rgb(159, 121, 30);
/* oklch */ color: oklch(59.8% 0.112 84.1);
Tailwind
colors: {
  custom: {
    50: '#c09f62',
    500: '#9f791e',
    950: '#000000',
  },
}
SCSS
$custom: #9f791e;
$custom-light: #c09f62;
$custom-dark: #000000;
JSON
{
  "hex": "#9f791e",
  "rgb": {
    "r": 159,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 42.326,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.598,
    "c": 0.11245,
    "h": 84.1
  },
  "luminance": 0.21139
}

Semantic roles & 50–950 ramp

primary
#9F791E
secondary
#5676C3
accent
#70EB3D
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9F791E

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

Preview Lab → · Contrast checker → · Palette generator →

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