#9F7C18#9F7C18

#9F7C18 is a mid, moderate orange. Relative luminance 0.219; OKLCH L 60.4% C 0.116 H 87.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9F7C18
RGBrgb(159, 124, 24)
HSLhsl(44, 74%, 36%)
HSVhsv(44, 85%, 62%)
CMYKcmyk(0%, 22%, 84.9%, 37.6%)
CIE-LABlab(53.87, 4.29, 54.31)
CIE-LCHlch(53.87, 54.48, 85.48°)
OKLaboklab(60.4% 0.0055 0.1163)
OKLCHoklch(60.4% 0.116 87.3)
XYZxyz(21.6720, 21.8537, 3.9407)
Luminance0.2185 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7C18 #183B9F
analogous
#9F3818 #9F7C18 #7E9F18
triadic
#9F7C18 #189F7C #7C189F
tetradic
#9F7C18 #189F38 #183B9F #9F187E
square
#9F7C18 #189F38 #183B9F #9F187E
split-complementary
#9F7C18 #187E9F #38189F
monochromatic
#352908 #6A5310 #9F7C18 #D4A520 #E4BD4D

Accessibility & contrast

On white

3.91
#9F7C18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#9F7C18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7C18
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7C18#FFFFFF#000000##000000
##9F7C181.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#95851F
Tritanopia (blue-blind)
#AD706A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9f7c18;
/* rgb */ color: rgb(159, 124, 24);
/* oklch */ color: oklch(60.4% 0.116 87.3);
Tailwind
colors: {
  custom: {
    50: '#c0a160',
    500: '#9f7c18',
    950: '#000000',
  },
}
SCSS
$custom: #9f7c18;
$custom-light: #c0a160;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7c18",
  "rgb": {
    "r": 159,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 44.444,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60395,
    "c": 0.11639,
    "h": 87.3
  },
  "luminance": 0.21852
}

Semantic roles & 50–950 ramp

primary
#9F7C18
secondary
#4D6CC6
accent
#67F037
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9F7C18

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

Preview Lab → · Contrast checker → · Palette generator →

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