#9F792F#9F792F

#9F792F is a mid, moderate orange. Relative luminance 0.213; OKLCH L 59.9% C 0.102 H 81.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9F792F
RGBrgb(159, 121, 47)
HSLhsl(40, 54%, 40%)
HSVhsv(40, 70%, 62%)
CMYKcmyk(0%, 23.9%, 70.4%, 37.6%)
CIE-LABlab(53.22, 6.98, 44.75)
CIE-LCHlch(53.22, 45.29, 81.14°)
OKLaboklab(59.93% 0.0159 0.1007)
OKLCHoklch(59.93% 0.102 81)
XYZxyz(21.6499, 21.2525, 5.6506)
Luminance0.2125 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F792F #2F559F
analogous
#9F412F #9F792F #8D9F2F
triadic
#9F792F #2F9F79 #792F9F
tetradic
#9F792F #2F9F41 #2F559F #9F2F8D
square
#9F792F #2F9F41 #2F559F #9F2F8D
split-complementary
#9F792F #2F8D9F #412F9F
monochromatic
#413113 #705521 #9F792F #C89B44 #D6B473

Accessibility & contrast

On white

4.00
#9F792F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#9F792F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F792F
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F792F#FFFFFF#000000##000000
##9F792F1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897926
Deuteranopia (green-blind)
#928332
Tritanopia (blue-blind)
#AD6E69
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9f792f;
/* rgb */ color: rgb(159, 121, 47);
/* oklch */ color: oklch(59.9% 0.102 81.0);
Tailwind
colors: {
  custom: {
    50: '#bf9f6b',
    500: '#9f792f',
    950: '#000000',
  },
}
SCSS
$custom: #9f792f;
$custom-light: #bf9f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f792f",
  "rgb": {
    "r": 159,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 39.643,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.59934,
    "c": 0.10198,
    "h": 81
  },
  "luminance": 0.21251
}

Semantic roles & 50–950 ramp

primary
#9F792F
secondary
#6D88BD
accent
#7CDE4A
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E07
muted
#827E7A

Preview Lab

Preview with #9F792F

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

Preview Lab → · Contrast checker → · Palette generator →

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