#9F781C#9F781C

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

Color values

HEX#9F781C
RGBrgb(159, 120, 28)
HSLhsl(42, 70%, 37%)
HSVhsv(42, 82%, 62%)
CMYKcmyk(0%, 24.5%, 82.4%, 37.6%)
CIE-LABlab(52.83, 6.68, 52.11)
CIE-LCHlch(52.83, 52.54, 82.70°)
OKLaboklab(59.58% 0.0127 0.1124)
OKLCHoklch(59.58% 0.113 83.6)
XYZxyz(21.2256, 20.8893, 4.0125)
Luminance0.2089 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F781C #1C439F
analogous
#9F361C #9F781C #859F1C
triadic
#9F781C #1C9F78 #781C9F
tetradic
#9F781C #1C9F36 #1C439F #9F1C85
square
#9F781C #1C9F36 #1C439F #9F1C85
split-complementary
#9F781C #1C859F #361C9F
monochromatic
#37290A #6B5113 #9F781C #D39F25 #E1B754

Accessibility & contrast

On white

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

On black

5.18
#9F781C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F781C
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F781C#FFFFFF#000000##000000
##9F781C1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887806
Deuteranopia (green-blind)
#928221
Tritanopia (blue-blind)
#AD6C67
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9f781c;
/* rgb */ color: rgb(159, 120, 28);
/* oklch */ color: oklch(59.6% 0.113 83.6);
Tailwind
colors: {
  custom: {
    50: '#c09e61',
    500: '#9f781c',
    950: '#000000',
  },
}
SCSS
$custom: #9f781c;
$custom-light: #c09e61;
$custom-dark: #000000;
JSON
{
  "hex": "#9f781c",
  "rgb": {
    "r": 159,
    "g": 120,
    "b": 28
  },
  "hsl": {
    "h": 42.137,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59581,
    "c": 0.1131,
    "h": 83.6
  },
  "luminance": 0.20888
}

Semantic roles & 50–950 ramp

primary
#9F781C
secondary
#5374C4
accent
#70ED3B
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9F781C

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

Preview Lab → · Contrast checker → · Palette generator →

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