#9F791B#9F791B

#9F791B is a mid, moderate orange. Relative luminance 0.211; OKLCH L 59.8% C 0.114 H 84.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9F791B
RGBrgb(159, 121, 27)
HSLhsl(43, 71%, 36%)
HSVhsv(43, 83%, 62%)
CMYKcmyk(0%, 23.9%, 83%, 37.6%)
CIE-LABlab(53.09, 6.08, 52.68)
CIE-LCHlch(53.09, 53.03, 83.42°)
OKLaboklab(59.78% 0.0109 0.1134)
OKLCHoklch(59.78% 0.114 84.5)
XYZxyz(21.3347, 21.1264, 3.9908)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F791B #1B419F
analogous
#9F371B #9F791B #839F1B
triadic
#9F791B #1B9F79 #791B9F
tetradic
#9F791B #1B9F37 #1B419F #9F1B83
square
#9F791B #1B9F37 #1B419F #9F1B83
split-complementary
#9F791B #1B839F #371B9F
monochromatic
#362909 #6B5112 #9F791B #D3A124 #E2B953

Accessibility & contrast

On white

4.02
#9F791B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#9F791B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F791B
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F791B#FFFFFF#000000##000000
##9F791B1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897903
Deuteranopia (green-blind)
#928320
Tritanopia (blue-blind)
#AD6D68
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9f791b;
/* rgb */ color: rgb(159, 121, 27);
/* oklch */ color: oklch(59.8% 0.114 84.5);
Tailwind
colors: {
  custom: {
    50: '#c09f61',
    500: '#9f791b',
    950: '#000000',
  },
}
SCSS
$custom: #9f791b;
$custom-light: #c09f61;
$custom-dark: #000000;
JSON
{
  "hex": "#9f791b",
  "rgb": {
    "r": 159,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 42.727,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59783,
    "c": 0.1139,
    "h": 84.5
  },
  "luminance": 0.21125
}

Semantic roles & 50–950 ramp

primary
#9F791B
secondary
#5172C5
accent
#6EEE3A
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9F791B

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

Preview Lab → · Contrast checker → · Palette generator →

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