#9F7E20#9F7E20

#9F7E20 is a mid, moderate orange. Relative luminance 0.224; OKLCH L 60.9% C 0.113 H 88.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9F7E20
RGBrgb(159, 126, 32)
HSLhsl(44, 66%, 37%)
HSVhsv(44, 80%, 62%)
CMYKcmyk(0%, 20.8%, 79.9%, 37.6%)
CIE-LABlab(54.45, 3.44, 52.16)
CIE-LCHlch(54.45, 52.27, 86.23°)
OKLaboklab(60.86% 0.0038 0.1134)
OKLCHoklch(60.86% 0.113 88.1)
XYZxyz(22.0210, 22.3984, 4.5297)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7E20 #20419F
analogous
#9F3E20 #9F7E20 #819F20
triadic
#9F7E20 #209F7E #7E209F
tetradic
#9F7E20 #209F3E #20419F #9F2081
square
#9F7E20 #209F3E #20419F #9F2081
split-complementary
#9F7E20 #20819F #3E209F
monochromatic
#392D0B #6C5616 #9F7E20 #D2A62A #DEBC5B

Accessibility & contrast

On white

3.83
#9F7E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#9F7E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7E20
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7E20#FFFFFF#000000##000000
##9F7E201.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0C
Deuteranopia (green-blind)
#968625
Tritanopia (blue-blind)
#AD726C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9f7e20;
/* rgb */ color: rgb(159, 126, 32);
/* oklch */ color: oklch(60.9% 0.113 88.1);
Tailwind
colors: {
  custom: {
    50: '#c0a364',
    500: '#9f7e20',
    950: '#000000',
  },
}
SCSS
$custom: #9f7e20;
$custom-light: #c0a364;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7e20",
  "rgb": {
    "r": 159,
    "g": 126,
    "b": 32
  },
  "hsl": {
    "h": 44.409,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60861,
    "c": 0.11346,
    "h": 88.1
  },
  "luminance": 0.22397
}

Semantic roles & 50–950 ramp

primary
#9F7E20
secondary
#5974C2
accent
#6BE93E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130F06
muted
#827E7A

Preview Lab

Preview with #9F7E20

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

Preview Lab → · Contrast checker → · Palette generator →

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