#9F7B18#9F7B18

#9F7B18 is a mid, moderate orange. Relative luminance 0.216; OKLCH L 60.2% C 0.116 H 86.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9F7B18
RGBrgb(159, 123, 24)
HSLhsl(44, 74%, 36%)
HSVhsv(44, 85%, 62%)
CMYKcmyk(0%, 22.6%, 84.9%, 37.6%)
CIE-LABlab(53.60, 4.85, 54.09)
CIE-LCHlch(53.60, 54.30, 84.87°)
OKLaboklab(60.19% 0.0071 0.1158)
OKLCHoklch(60.19% 0.116 86.5)
XYZxyz(21.5473, 21.6044, 3.8992)
Luminance0.2160 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7B18 #183C9F
analogous
#9F3718 #9F7B18 #7F9F18
triadic
#9F7B18 #189F7B #7B189F
tetradic
#9F7B18 #189F37 #183C9F #9F187F
square
#9F7B18 #189F37 #183C9F #9F187F
split-complementary
#9F7B18 #187F9F #37189F
monochromatic
#352908 #6A5210 #9F7B18 #D4A420 #E4BC4D

Accessibility & contrast

On white

3.95
#9F7B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#9F7B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7B18
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7B18#FFFFFF#000000##000000
##9F7B181.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B00
Deuteranopia (green-blind)
#94841E
Tritanopia (blue-blind)
#AD6F69
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9f7b18;
/* rgb */ color: rgb(159, 123, 24);
/* oklch */ color: oklch(60.2% 0.116 86.5);
Tailwind
colors: {
  custom: {
    50: '#c0a060',
    500: '#9f7b18',
    950: '#000000',
  },
}
SCSS
$custom: #9f7b18;
$custom-light: #c0a060;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7b18",
  "rgb": {
    "r": 159,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 44,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60185,
    "c": 0.11598,
    "h": 86.5
  },
  "luminance": 0.21603
}

Semantic roles & 50–950 ramp

primary
#9F7B18
secondary
#4D6DC6
accent
#69F037
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9F7B18

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

Preview Lab → · Contrast checker → · Palette generator →

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