#9B781A#9B781A

#9B781A is a mid, moderate orange. Relative luminance 0.205; OKLCH L 59.1% C 0.113 H 86.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9B781A
RGBrgb(155, 120, 26)
HSLhsl(44, 71%, 35%)
HSVhsv(44, 83%, 61%)
CMYKcmyk(0%, 22.6%, 83.2%, 39.2%)
CIE-LABlab(52.37, 4.76, 52.22)
CIE-LCHlch(52.37, 52.43, 84.79°)
OKLaboklab(59.12% 0.0072 0.1124)
OKLCHoklch(59.12% 0.113 86.3)
XYZxyz(20.4218, 20.4776, 3.8540)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B781A #1A3D9B
analogous
#9B371A #9B781A #7D9B1A
triadic
#9B781A #1A9B78 #781A9B
tetradic
#9B781A #1A9B37 #1A3D9B #9B1A7D
square
#9B781A #1A9B37 #1A3D9B #9B1A7D
split-complementary
#9B781A #1A7D9B #371A9B
monochromatic
#322708 #674F11 #9B781A #CFA123 #E1B94E

Accessibility & contrast

On white

4.12
#9B781A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#9B781A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B781A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B781A#FFFFFF#000000##000000
##9B781A1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887802
Deuteranopia (green-blind)
#908120
Tritanopia (blue-blind)
#A96C67
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9b781a;
/* rgb */ color: rgb(155, 120, 26);
/* oklch */ color: oklch(59.1% 0.113 86.3);
Tailwind
colors: {
  custom: {
    50: '#bd9e60',
    500: '#9b781a',
    950: '#000000',
  },
}
SCSS
$custom: #9b781a;
$custom-light: #bd9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#9b781a",
  "rgb": {
    "r": 155,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 43.721,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59119,
    "c": 0.11261,
    "h": 86.3
  },
  "luminance": 0.20476
}

Semantic roles & 50–950 ramp

primary
#9B781A
secondary
#4D6DC4
accent
#6BEE3A
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9B781A

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

Preview Lab → · Contrast checker → · Palette generator →

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