#9F792D#9F792D

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

Color values

HEX#9F792D
RGBrgb(159, 121, 45)
HSLhsl(40, 56%, 40%)
HSVhsv(40, 72%, 62%)
CMYKcmyk(0%, 23.9%, 71.7%, 37.6%)
CIE-LABlab(53.21, 6.86, 45.65)
CIE-LCHlch(53.21, 46.16, 81.45°)
OKLaboklab(59.92% 0.0153 0.1023)
OKLCHoklch(59.92% 0.103 81.5)
XYZxyz(21.6104, 21.2367, 5.4430)
Luminance0.2124 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F792D #2D539F
analogous
#9F402D #9F792D #8C9F2D
triadic
#9F792D #2D9F79 #792D9F
tetradic
#9F792D #2D9F40 #2D539F #9F2D8C
square
#9F792D #2D9F40 #2D539F #9F2D8C
split-complementary
#9F792D #2D8C9F #402D9F
monochromatic
#403012 #6F5520 #9F792D #C99B40 #D6B470

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F792D#FFFFFF#000000##000000
##9F792D1.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)
#897923
Deuteranopia (green-blind)
#928330
Tritanopia (blue-blind)
#AD6E69
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9f792d;
/* rgb */ color: rgb(159, 121, 45);
/* oklch */ color: oklch(59.9% 0.103 81.5);
Tailwind
colors: {
  custom: {
    50: '#bf9f6a',
    500: '#9f792d',
    950: '#000000',
  },
}
SCSS
$custom: #9f792d;
$custom-light: #bf9f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f792d",
  "rgb": {
    "r": 159,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 40,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.59915,
    "c": 0.10339,
    "h": 81.5
  },
  "luminance": 0.21235
}

Semantic roles & 50–950 ramp

primary
#9F792D
secondary
#6A86BE
accent
#7BDF49
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E07
muted
#827E7A

Preview Lab

Preview with #9F792D

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

Preview Lab → · Contrast checker → · Palette generator →

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