#9F7D2B#9F7D2B

#9F7D2B is a mid, moderate orange. Relative luminance 0.222; OKLCH L 60.7% C 0.106 H 85.6°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9F7D2B
RGBrgb(159, 125, 43)
HSLhsl(42, 57%, 40%)
HSVhsv(42, 73%, 62%)
CMYKcmyk(0%, 21.4%, 73%, 37.6%)
CIE-LABlab(54.25, 4.50, 47.60)
CIE-LCHlch(54.25, 47.81, 84.60°)
OKLaboklab(60.73% 0.0082 0.106)
OKLCHoklch(60.73% 0.106 85.6)
XYZxyz(22.0691, 22.2141, 5.4104)
Luminance0.2221 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7D2B #2B4D9F
analogous
#9F432B #9F7D2B #879F2B
triadic
#9F7D2B #2B9F7D #7D2B9F
tetradic
#9F7D2B #2B9F43 #2B4D9F #9F2B87
square
#9F7D2B #2B9F43 #2B4D9F #9F2B87
split-complementary
#9F7D2B #2B879F #432B9F
monochromatic
#3F3111 #6F571E #9F7D2B #CAA13D #D7B86D

Accessibility & contrast

On white

3.86
#9F7D2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#9F7D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7D2B
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7D2B#FFFFFF#000000##000000
##9F7D2B1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D20
Deuteranopia (green-blind)
#95852F
Tritanopia (blue-blind)
#AD726C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9f7d2b;
/* rgb */ color: rgb(159, 125, 43);
/* oklch */ color: oklch(60.7% 0.106 85.6);
Tailwind
colors: {
  custom: {
    50: '#bfa269',
    500: '#9f7d2b',
    950: '#000000',
  },
}
SCSS
$custom: #9f7d2b;
$custom-light: #bfa269;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7d2b",
  "rgb": {
    "r": 159,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 42.414,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.60732,
    "c": 0.10632,
    "h": 85.6
  },
  "luminance": 0.22213
}

Semantic roles & 50–950 ramp

primary
#9F7D2B
secondary
#6781BE
accent
#74E147
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130F07
muted
#827E7A

Preview Lab

Preview with #9F7D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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