#9F771C#9F771C

#9F771C is a mid, moderate orange. Relative luminance 0.206; OKLCH L 59.4% C 0.113 H 82.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9F771C
RGBrgb(159, 119, 28)
HSLhsl(42, 70%, 37%)
HSVhsv(42, 82%, 62%)
CMYKcmyk(0%, 25.2%, 82.4%, 37.6%)
CIE-LABlab(52.56, 7.24, 51.88)
CIE-LCHlch(52.56, 52.38, 82.05°)
OKLaboklab(59.37% 0.0143 0.1119)
OKLCHoklch(59.37% 0.113 82.7)
XYZxyz(21.1059, 20.6500, 3.9726)
Luminance0.2065 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F771C #1C449F
analogous
#9F351C #9F771C #869F1C
triadic
#9F771C #1C9F77 #771C9F
tetradic
#9F771C #1C9F35 #1C449F #9F1C86
square
#9F771C #1C9F35 #1C449F #9F1C86
split-complementary
#9F771C #1C869F #351C9F
monochromatic
#37290A #6B5013 #9F771C #D39E25 #E1B654

Accessibility & contrast

On white

4.09
#9F771C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#9F771C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F771C
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F771C#FFFFFF#000000##000000
##9F771C1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887707
Deuteranopia (green-blind)
#918221
Tritanopia (blue-blind)
#AD6B66
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9f771c;
/* rgb */ color: rgb(159, 119, 28);
/* oklch */ color: oklch(59.4% 0.113 82.7);
Tailwind
colors: {
  custom: {
    50: '#c09d61',
    500: '#9f771c',
    950: '#000000',
  },
}
SCSS
$custom: #9f771c;
$custom-light: #c09d61;
$custom-dark: #000000;
JSON
{
  "hex": "#9f771c",
  "rgb": {
    "r": 159,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 41.679,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59374,
    "c": 0.11278,
    "h": 82.7
  },
  "luminance": 0.20648
}

Semantic roles & 50–950 ramp

primary
#9F771C
secondary
#5375C4
accent
#71ED3B
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9F771C

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

Preview Lab → · Contrast checker → · Palette generator →

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