#9F7D18#9F7D18

#9F7D18 is a mid, moderate orange. Relative luminance 0.221; OKLCH L 60.6% C 0.117 H 88.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9F7D18
RGBrgb(159, 125, 24)
HSLhsl(45, 74%, 36%)
HSVhsv(45, 85%, 62%)
CMYKcmyk(0%, 21.4%, 84.9%, 37.6%)
CIE-LABlab(54.14, 3.73, 54.54)
CIE-LCHlch(54.14, 54.67, 86.09°)
OKLaboklab(60.61% 0.0039 0.1168)
OKLCHoklch(60.61% 0.117 88.1)
XYZxyz(21.7980, 22.1056, 3.9827)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7D18 #183A9F
analogous
#9F3918 #9F7D18 #7D9F18
triadic
#9F7D18 #189F7D #7D189F
tetradic
#9F7D18 #189F39 #183A9F #9F187D
square
#9F7D18 #189F39 #183A9F #9F187D
split-complementary
#9F7D18 #187D9F #39189F
monochromatic
#352908 #6A5310 #9F7D18 #D4A720 #E4BE4D

Accessibility & contrast

On white

3.87
#9F7D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#9F7D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7D18
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7D18#FFFFFF#000000##000000
##9F7D181.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f7d18;
/* rgb */ color: rgb(159, 125, 24);
/* oklch */ color: oklch(60.6% 0.117 88.1);
Tailwind
colors: {
  custom: {
    50: '#c0a260',
    500: '#9f7d18',
    950: '#000000',
  },
}
SCSS
$custom: #9f7d18;
$custom-light: #c0a260;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7d18",
  "rgb": {
    "r": 159,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 44.889,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60605,
    "c": 0.11682,
    "h": 88.1
  },
  "luminance": 0.22104
}

Semantic roles & 50–950 ramp

primary
#9F7D18
secondary
#4D6BC6
accent
#66F037
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130F05
muted
#827E79

Preview Lab

Preview with #9F7D18

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

Preview Lab → · Contrast checker → · Palette generator →

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