#9F7018#9F7018

#9F7018 is a mid, moderate orange. Relative luminance 0.190; OKLCH L 57.9% C 0.113 H 77.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9F7018
RGBrgb(159, 112, 24)
HSLhsl(39, 74%, 36%)
HSVhsv(39, 85%, 62%)
CMYKcmyk(0%, 29.6%, 84.9%, 37.6%)
CIE-LABlab(50.72, 11.09, 51.63)
CIE-LCHlch(50.72, 52.80, 77.88°)
OKLaboklab(57.92% 0.025 0.1104)
OKLCHoklch(57.92% 0.113 77.2)
XYZxyz(20.2586, 19.0269, 3.4696)
Luminance0.1903 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7018 #18479F
analogous
#9F2C18 #9F7018 #8A9F18
triadic
#9F7018 #189F70 #70189F
tetradic
#9F7018 #189F2C #18479F #9F188A
square
#9F7018 #189F2C #18479F #9F188A
split-complementary
#9F7018 #188A9F #2C189F
monochromatic
#352508 #6A4B10 #9F7018 #D49520 #E4B04D

Accessibility & contrast

On white

4.37
#9F7018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#9F7018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7018
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7018#FFFFFF#000000##000000
##9F70181.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#827202
Deuteranopia (green-blind)
#8D7D1C
Tritanopia (blue-blind)
#AE6360
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9f7018;
/* rgb */ color: rgb(159, 112, 24);
/* oklch */ color: oklch(57.9% 0.113 77.2);
Tailwind
colors: {
  custom: {
    50: '#c1985e',
    500: '#9f7018',
    950: '#000000',
  },
}
SCSS
$custom: #9f7018;
$custom-light: #c1985e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7018",
  "rgb": {
    "r": 159,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 39.111,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57922,
    "c": 0.11315,
    "h": 77.2
  },
  "luminance": 0.19025
}

Semantic roles & 50–950 ramp

primary
#9F7018
secondary
#4D77C6
accent
#78F037
background
#FCF9F5
surface
#F8F2E9
border
#D1CCC5
text
#130D05
muted
#827E79

Preview Lab

Preview with #9F7018

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

Preview Lab → · Contrast checker → · Palette generator →

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