#9F7D1B#9F7D1B

#9F7D1B is a mid, moderate orange. Relative luminance 0.221; OKLCH L 60.6% C 0.115 H 87.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9F7D1B
RGBrgb(159, 125, 27)
HSLhsl(45, 71%, 36%)
HSVhsv(45, 83%, 62%)
CMYKcmyk(0%, 21.4%, 83%, 37.6%)
CIE-LABlab(54.15, 3.82, 53.61)
CIE-LCHlch(54.15, 53.75, 85.92°)
OKLaboklab(60.62% 0.0044 0.1154)
OKLCHoklch(60.62% 0.115 87.8)
XYZxyz(21.8309, 22.1188, 4.1562)
Luminance0.2212 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7D1B #1B3D9F
analogous
#9F3B1B #9F7D1B #7F9F1B
triadic
#9F7D1B #1B9F7D #7D1B9F
tetradic
#9F7D1B #1B9F3B #1B3D9F #9F1B7F
square
#9F7D1B #1B9F3B #1B3D9F #9F1B7F
split-complementary
#9F7D1B #1B7F9F #3B1B9F
monochromatic
#362B09 #6B5412 #9F7D1B #D3A624 #E2BD53

Accessibility & contrast

On white

3.87
#9F7D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#9F7D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7D1B
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7D1B#FFFFFF#000000##000000
##9F7D1B1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C01
Deuteranopia (green-blind)
#958521
Tritanopia (blue-blind)
#AD716B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9f7d1b;
/* rgb */ color: rgb(159, 125, 27);
/* oklch */ color: oklch(60.6% 0.115 87.8);
Tailwind
colors: {
  custom: {
    50: '#c0a261',
    500: '#9f7d1b',
    950: '#000000',
  },
}
SCSS
$custom: #9f7d1b;
$custom-light: #c0a261;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7d1b",
  "rgb": {
    "r": 159,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 44.545,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6062,
    "c": 0.11549,
    "h": 87.8
  },
  "luminance": 0.22117
}

Semantic roles & 50–950 ramp

primary
#9F7D1B
secondary
#516FC5
accent
#68EE3A
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130F05
muted
#827E7A

Preview Lab

Preview with #9F7D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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