#9F7A18#9F7A18

#9F7A18 is a mid, moderate orange. Relative luminance 0.214; OKLCH L 60.0% C 0.116 H 85.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9F7A18
RGBrgb(159, 122, 24)
HSLhsl(44, 74%, 36%)
HSVhsv(44, 85%, 62%)
CMYKcmyk(0%, 23.3%, 84.9%, 37.6%)
CIE-LABlab(53.34, 5.42, 53.86)
CIE-LCHlch(53.34, 54.13, 84.25°)
OKLaboklab(59.98% 0.0087 0.1153)
OKLCHoklch(59.98% 0.116 85.7)
XYZxyz(21.4239, 21.3575, 3.8580)
Luminance0.2136 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7A18 #183D9F
analogous
#9F3718 #9F7A18 #809F18
triadic
#9F7A18 #189F7A #7A189F
tetradic
#9F7A18 #189F37 #183D9F #9F1880
square
#9F7A18 #189F37 #183D9F #9F1880
split-complementary
#9F7A18 #18809F #37189F
monochromatic
#352808 #6A5110 #9F7A18 #D4A320 #E4BB4D

Accessibility & contrast

On white

3.98
#9F7A18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#9F7A18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7A18
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7A18#FFFFFF#000000##000000
##9F7A181.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#93831E
Tritanopia (blue-blind)
#AD6E68
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9f7a18;
/* rgb */ color: rgb(159, 122, 24);
/* oklch */ color: oklch(60.0% 0.116 85.7);
Tailwind
colors: {
  custom: {
    50: '#c0a060',
    500: '#9f7a18',
    950: '#000000',
  },
}
SCSS
$custom: #9f7a18;
$custom-light: #c0a060;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7a18",
  "rgb": {
    "r": 159,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 43.556,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59976,
    "c": 0.11559,
    "h": 85.7
  },
  "luminance": 0.21356
}

Semantic roles & 50–950 ramp

primary
#9F7A18
secondary
#4D6EC6
accent
#6AF037
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9F7A18

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

Preview Lab → · Contrast checker → · Palette generator →

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