#9F7818#9F7818

#9F7818 is a mid, moderate orange. Relative luminance 0.209; OKLCH L 59.6% C 0.115 H 84.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9F7818
RGBrgb(159, 120, 24)
HSLhsl(43, 74%, 36%)
HSVhsv(43, 85%, 62%)
CMYKcmyk(0%, 24.5%, 84.9%, 37.6%)
CIE-LABlab(52.81, 6.55, 53.41)
CIE-LCHlch(52.81, 53.81, 83.01°)
OKLaboklab(59.56% 0.0119 0.1143)
OKLCHoklch(59.56% 0.115 84)
XYZxyz(21.1809, 20.8714, 3.7770)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7818 #183F9F
analogous
#9F3518 #9F7818 #829F18
triadic
#9F7818 #189F78 #78189F
tetradic
#9F7818 #189F35 #183F9F #9F1882
square
#9F7818 #189F35 #183F9F #9F1882
split-complementary
#9F7818 #18829F #35189F
monochromatic
#352808 #6A5010 #9F7818 #D4A020 #E4B94D

Accessibility & contrast

On white

4.06
#9F7818 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#9F7818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7818
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7818#FFFFFF#000000##000000
##9F78181.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#92821E
Tritanopia (blue-blind)
#AD6C67
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9f7818;
/* rgb */ color: rgb(159, 120, 24);
/* oklch */ color: oklch(59.6% 0.115 84.0);
Tailwind
colors: {
  custom: {
    50: '#c09e5f',
    500: '#9f7818',
    950: '#000000',
  },
}
SCSS
$custom: #9f7818;
$custom-light: #c09e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7818",
  "rgb": {
    "r": 159,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 42.667,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59559,
    "c": 0.11489,
    "h": 84
  },
  "luminance": 0.2087
}

Semantic roles & 50–950 ramp

primary
#9F7818
secondary
#4D70C6
accent
#6DF037
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9F7818

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

Preview Lab → · Contrast checker → · Palette generator →

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