#9F7918#9F7918

#9F7918 is a mid, moderate orange. Relative luminance 0.211; OKLCH L 59.8% C 0.115 H 84.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9F7918
RGBrgb(159, 121, 24)
HSLhsl(43, 74%, 36%)
HSVhsv(43, 85%, 62%)
CMYKcmyk(0%, 23.9%, 84.9%, 37.6%)
CIE-LABlab(53.07, 5.98, 53.63)
CIE-LCHlch(53.07, 53.97, 83.63°)
OKLaboklab(59.77% 0.0103 0.1148)
OKLCHoklch(59.77% 0.115 84.9)
XYZxyz(21.3018, 21.1132, 3.8173)
Luminance0.2111 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7918 #183E9F
analogous
#9F3518 #9F7918 #819F18
triadic
#9F7918 #189F79 #79189F
tetradic
#9F7918 #189F35 #183E9F #9F1881
square
#9F7918 #189F35 #183E9F #9F1881
split-complementary
#9F7918 #18819F #35189F
monochromatic
#352808 #6A5110 #9F7918 #D4A120 #E4BA4D

Accessibility & contrast

On white

4.02
#9F7918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#9F7918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7918
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7918#FFFFFF#000000##000000
##9F79181.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f7918;
/* rgb */ color: rgb(159, 121, 24);
/* oklch */ color: oklch(59.8% 0.115 84.9);
Tailwind
colors: {
  custom: {
    50: '#c09f5f',
    500: '#9f7918',
    950: '#000000',
  },
}
SCSS
$custom: #9f7918;
$custom-light: #c09f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7918",
  "rgb": {
    "r": 159,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 43.111,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59767,
    "c": 0.11523,
    "h": 84.9
  },
  "luminance": 0.21112
}

Semantic roles & 50–950 ramp

primary
#9F7918
secondary
#4D6FC6
accent
#6BF037
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9F7918

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

Preview Lab → · Contrast checker → · Palette generator →

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