#9F7822#9F7822

#9F7822 is a mid, moderate orange. Relative luminance 0.209; OKLCH L 59.6% C 0.110 H 82.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9F7822
RGBrgb(159, 120, 34)
HSLhsl(41, 65%, 38%)
HSVhsv(41, 79%, 62%)
CMYKcmyk(0%, 24.5%, 78.6%, 37.6%)
CIE-LABlab(52.86, 6.90, 49.95)
CIE-LCHlch(52.86, 50.42, 82.13°)
OKLaboklab(59.62% 0.014 0.1091)
OKLCHoklch(59.62% 0.11 82.7)
XYZxyz(21.3047, 20.9210, 4.4291)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7822 #22499F
analogous
#9F3922 #9F7822 #879F22
triadic
#9F7822 #229F78 #78229F
tetradic
#9F7822 #229F39 #22499F #9F2287
square
#9F7822 #229F39 #22499F #9F2287
split-complementary
#9F7822 #22879F #39229F
monochromatic
#3A2C0C #6D5217 #9F7822 #D19E2D #DDB55F

Accessibility & contrast

On white

4.05
#9F7822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#9F7822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7822
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7822#FFFFFF#000000##000000
##9F78221.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887813
Deuteranopia (green-blind)
#928226
Tritanopia (blue-blind)
#AD6C67
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9f7822;
/* rgb */ color: rgb(159, 120, 34);
/* oklch */ color: oklch(59.6% 0.110 82.7);
Tailwind
colors: {
  custom: {
    50: '#c09e64',
    500: '#9f7822',
    950: '#000000',
  },
}
SCSS
$custom: #9f7822;
$custom-light: #c09e64;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7822",
  "rgb": {
    "r": 159,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 41.28,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59619,
    "c": 0.10999,
    "h": 82.7
  },
  "luminance": 0.20919
}

Semantic roles & 50–950 ramp

primary
#9F7822
secondary
#5B7BC1
accent
#74E840
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A

Preview Lab

Preview with #9F7822

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

Preview Lab → · Contrast checker → · Palette generator →

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