#9B781F#9B781F

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

Color values

HEX#9B781F
RGBrgb(155, 120, 31)
HSLhsl(43, 67%, 36%)
HSVhsv(43, 80%, 61%)
CMYKcmyk(0%, 22.6%, 80%, 39.2%)
CIE-LABlab(52.40, 4.94, 50.49)
CIE-LCHlch(52.40, 50.73, 84.41°)
OKLaboklab(59.15% 0.0083 0.1098)
OKLCHoklch(59.15% 0.11 85.7)
XYZxyz(20.4827, 20.5019, 4.1745)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B781F #1F429B
analogous
#9B3A1F #9B781F #809B1F
triadic
#9B781F #1F9B78 #781F9B
tetradic
#9B781F #1F9B3A #1F429B #9B1F80
square
#9B781F #1F9B3A #1F429B #9B1F80
split-complementary
#9B781F #1F809B #3A1F9B
monochromatic
#35290B #685115 #9B781F #CE9F29 #DDB757

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B781F#FFFFFF#000000##000000
##9B781F1.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)
#88780D
Deuteranopia (green-blind)
#908124
Tritanopia (blue-blind)
#A96C67
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9b781f;
/* rgb */ color: rgb(155, 120, 31);
/* oklch */ color: oklch(59.1% 0.110 85.7);
Tailwind
colors: {
  custom: {
    50: '#bd9e62',
    500: '#9b781f',
    950: '#000000',
  },
}
SCSS
$custom: #9b781f;
$custom-light: #bd9e62;
$custom-dark: #000000;
JSON
{
  "hex": "#9b781f",
  "rgb": {
    "r": 155,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 43.065,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59149,
    "c": 0.11011,
    "h": 85.7
  },
  "luminance": 0.205
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B781F

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

Preview Lab → · Contrast checker → · Palette generator →

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