#9F792C#9F792C

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

Color values

HEX#9F792C
RGBrgb(159, 121, 44)
HSLhsl(40, 57%, 40%)
HSVhsv(40, 72%, 62%)
CMYKcmyk(0%, 23.9%, 72.3%, 37.6%)
CIE-LABlab(53.20, 6.81, 46.09)
CIE-LCHlch(53.20, 46.59, 81.60°)
OKLaboklab(59.91% 0.015 0.103)
OKLCHoklch(59.91% 0.104 81.7)
XYZxyz(21.5914, 21.2291, 5.3428)
Luminance0.2123 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F792C #2C529F
analogous
#9F402C #9F792C #8B9F2C
triadic
#9F792C #2C9F79 #792C9F
tetradic
#9F792C #2C9F40 #2C529F #9F2C8B
square
#9F792C #2C9F40 #2C529F #9F2C8B
split-complementary
#9F792C #2C8B9F #402C9F
monochromatic
#3F3011 #6F551F #9F792C #CA9C3E #D7B46E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F792C#FFFFFF#000000##000000
##9F792C1.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)
#897922
Deuteranopia (green-blind)
#92832F
Tritanopia (blue-blind)
#AD6E69
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9f792c;
/* rgb */ color: rgb(159, 121, 44);
/* oklch */ color: oklch(59.9% 0.104 81.7);
Tailwind
colors: {
  custom: {
    50: '#bf9f6a',
    500: '#9f792c',
    950: '#000000',
  },
}
SCSS
$custom: #9f792c;
$custom-light: #bf9f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f792c",
  "rgb": {
    "r": 159,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 40.174,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.59906,
    "c": 0.10408,
    "h": 81.7
  },
  "luminance": 0.21228
}

Semantic roles & 50–950 ramp

primary
#9F792C
secondary
#6985BE
accent
#7AE048
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E07
muted
#827E7A

Preview Lab

Preview with #9F792C

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

Preview Lab → · Contrast checker → · Palette generator →

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