#9F791D#9F791D

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

Color values

HEX#9F791D
RGBrgb(159, 121, 29)
HSLhsl(42, 69%, 37%)
HSVhsv(42, 82%, 62%)
CMYKcmyk(0%, 23.9%, 81.8%, 37.6%)
CIE-LABlab(53.10, 6.15, 52.01)
CIE-LCHlch(53.10, 52.37, 83.26°)
OKLaboklab(59.79% 0.0113 0.1124)
OKLCHoklch(59.79% 0.113 84.3)
XYZxyz(21.3586, 21.1360, 4.1169)
Luminance0.2113 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F791D #1D439F
analogous
#9F381D #9F791D #849F1D
triadic
#9F791D #1D9F79 #791D9F
tetradic
#9F791D #1D9F38 #1D439F #9F1D84
square
#9F791D #1D9F38 #1D439F #9F1D84
split-complementary
#9F791D #1D849F #381D9F
monochromatic
#372A0A #6B5214 #9F791D #D3A026 #E0B856

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F791D#FFFFFF#000000##000000
##9F791D1.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)
#897908
Deuteranopia (green-blind)
#928322
Tritanopia (blue-blind)
#AD6D68
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9f791d;
/* rgb */ color: rgb(159, 121, 29);
/* oklch */ color: oklch(59.8% 0.113 84.3);
Tailwind
colors: {
  custom: {
    50: '#c09f62',
    500: '#9f791d',
    950: '#000000',
  },
}
SCSS
$custom: #9f791d;
$custom-light: #c09f62;
$custom-dark: #000000;
JSON
{
  "hex": "#9f791d",
  "rgb": {
    "r": 159,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 42.462,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59794,
    "c": 0.11294,
    "h": 84.3
  },
  "luminance": 0.21134
}

Semantic roles & 50–950 ramp

primary
#9F791D
secondary
#5475C4
accent
#6FEC3C
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9F791D

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

Preview Lab → · Contrast checker → · Palette generator →

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