#9A781F#9A781F

#9A781F is a mid, moderate orange. Relative luminance 0.204; OKLCH L 59.0% C 0.110 H 86.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9A781F
RGBrgb(154, 120, 31)
HSLhsl(43, 66%, 36%)
HSVhsv(43, 80%, 60%)
CMYKcmyk(0%, 22.1%, 79.9%, 39.6%)
CIE-LABlab(52.29, 4.48, 50.35)
CIE-LCHlch(52.29, 50.55, 84.92°)
OKLaboklab(59.04% 0.007 0.1096)
OKLCHoklch(59.04% 0.11 86.3)
XYZxyz(20.2915, 20.4033, 4.1655)
Luminance0.2040 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A781F #1F419A
analogous
#9A3B1F #9A781F #7F9A1F
triadic
#9A781F #1F9A78 #781F9A
tetradic
#9A781F #1F9A3B #1F419A #9A1F7F
square
#9A781F #1F9A3B #1F419A #9A1F7F
split-complementary
#9A781F #1F7F9A #3B1F9A
monochromatic
#34290A #675015 #9A781F #CDA029 #DDB856

Accessibility & contrast

On white

4.13
#9A781F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#9A781F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A781F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A781F#FFFFFF#000000##000000
##9A781F1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770D
Deuteranopia (green-blind)
#908024
Tritanopia (blue-blind)
#A76D67
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9a781f;
/* rgb */ color: rgb(154, 120, 31);
/* oklch */ color: oklch(59.0% 0.110 86.3);
Tailwind
colors: {
  custom: {
    50: '#bc9e62',
    500: '#9a781f',
    950: '#000000',
  },
}
SCSS
$custom: #9a781f;
$custom-light: #bc9e62;
$custom-dark: #000000;
JSON
{
  "hex": "#9a781f",
  "rgb": {
    "r": 154,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 43.415,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59038,
    "c": 0.10977,
    "h": 86.3
  },
  "luminance": 0.20402
}

Semantic roles & 50–950 ramp

primary
#9A781F
secondary
#5472C1
accent
#6EE93E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9A781F

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

Preview Lab → · Contrast checker → · Palette generator →

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