#9C781F#9C781F

#9C781F is a mid, moderate orange. Relative luminance 0.206; OKLCH L 59.3% C 0.110 H 85.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9C781F
RGBrgb(156, 120, 31)
HSLhsl(43, 67%, 37%)
HSVhsv(43, 80%, 61%)
CMYKcmyk(0%, 23.1%, 80.1%, 38.8%)
CIE-LABlab(52.51, 5.40, 50.63)
CIE-LCHlch(52.51, 50.92, 83.91°)
OKLaboklab(59.26% 0.0095 0.1101)
OKLCHoklch(59.26% 0.11 85.1)
XYZxyz(20.6754, 20.6013, 4.1835)
Luminance0.2060 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C781F #1F439C
analogous
#9C3A1F #9C781F #829C1F
triadic
#9C781F #1F9C78 #781F9C
tetradic
#9C781F #1F9C3A #1F439C #9C1F82
square
#9C781F #1F9C3A #1F439C #9C1F82
split-complementary
#9C781F #1F829C #3A1F9C
monochromatic
#36290B #695115 #9C781F #CF9F29 #DEB758

Accessibility & contrast

On white

4.10
#9C781F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#9C781F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C781F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C781F#FFFFFF#000000##000000
##9C781F1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780D
Deuteranopia (green-blind)
#908124
Tritanopia (blue-blind)
#AA6C67
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9c781f;
/* rgb */ color: rgb(156, 120, 31);
/* oklch */ color: oklch(59.3% 0.110 85.1);
Tailwind
colors: {
  custom: {
    50: '#be9e62',
    500: '#9c781f',
    950: '#000000',
  },
}
SCSS
$custom: #9c781f;
$custom-light: #be9e62;
$custom-dark: #000000;
JSON
{
  "hex": "#9c781f",
  "rgb": {
    "r": 156,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 42.72,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59261,
    "c": 0.11046,
    "h": 85.1
  },
  "luminance": 0.206
}

Semantic roles & 50–950 ramp

primary
#9C781F
secondary
#5574C1
accent
#6FEA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9C781F

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

Preview Lab → · Contrast checker → · Palette generator →

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