#9B781B#9B781B

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

Color values

HEX#9B781B
RGBrgb(155, 120, 27)
HSLhsl(44, 70%, 36%)
HSVhsv(44, 83%, 61%)
CMYKcmyk(0%, 22.6%, 82.6%, 39.2%)
CIE-LABlab(52.38, 4.79, 51.89)
CIE-LCHlch(52.38, 52.11, 84.72°)
OKLaboklab(59.13% 0.0074 0.1119)
OKLCHoklch(59.13% 0.112 86.2)
XYZxyz(20.4332, 20.4821, 3.9139)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B781B #1B3E9B
analogous
#9B381B #9B781B #7E9B1B
triadic
#9B781B #1B9B78 #781B9B
tetradic
#9B781B #1B9B38 #1B3E9B #9B1B7E
square
#9B781B #1B9B38 #1B3E9B #9B1B7E
split-complementary
#9B781B #1B7E9B #381B9B
monochromatic
#332709 #675012 #9B781B #CFA024 #E0B950

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B781B#FFFFFF#000000##000000
##9B781B1.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)
#887804
Deuteranopia (green-blind)
#908120
Tritanopia (blue-blind)
#A96C67
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9b781b;
/* rgb */ color: rgb(155, 120, 27);
/* oklch */ color: oklch(59.1% 0.112 86.2);
Tailwind
colors: {
  custom: {
    50: '#bd9e60',
    500: '#9b781b',
    950: '#000000',
  },
}
SCSS
$custom: #9b781b;
$custom-light: #bd9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#9b781b",
  "rgb": {
    "r": 155,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 43.594,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59125,
    "c": 0.11215,
    "h": 86.2
  },
  "luminance": 0.20481
}

Semantic roles & 50–950 ramp

primary
#9B781B
secondary
#4F6FC3
accent
#6BED3B
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9B781B

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

Preview Lab → · Contrast checker → · Palette generator →

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