#9A781B#9A781B

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

Color values

HEX#9A781B
RGBrgb(154, 120, 27)
HSLhsl(44, 70%, 35%)
HSVhsv(44, 82%, 60%)
CMYKcmyk(0%, 22.1%, 82.5%, 39.6%)
CIE-LABlab(52.27, 4.33, 51.75)
CIE-LCHlch(52.27, 51.93, 85.22°)
OKLaboklab(59.01% 0.0061 0.1117)
OKLCHoklch(59.01% 0.112 86.9)
XYZxyz(20.2420, 20.3835, 3.9050)
Luminance0.2038 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A781B #1B3D9A
analogous
#9A381B #9A781B #7C9A1B
triadic
#9A781B #1B9A78 #781B9A
tetradic
#9A781B #1B9A38 #1B3D9A #9A1B7C
square
#9A781B #1B9A38 #1B3D9A #9A1B7C
split-complementary
#9A781B #1B7C9A #381B9A
monochromatic
#322709 #664F12 #9A781B #CEA124 #E0B94F

Accessibility & contrast

On white

4.14
#9A781B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A781B#FFFFFF#000000##000000
##9A781B1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887704
Deuteranopia (green-blind)
#908021
Tritanopia (blue-blind)
#A86C67
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9a781b;
/* rgb */ color: rgb(154, 120, 27);
/* oklch */ color: oklch(59.0% 0.112 86.9);
Tailwind
colors: {
  custom: {
    50: '#bc9e60',
    500: '#9a781b',
    950: '#000000',
  },
}
SCSS
$custom: #9a781b;
$custom-light: #bc9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#9a781b",
  "rgb": {
    "r": 154,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 43.937,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59014,
    "c": 0.11182,
    "h": 86.9
  },
  "luminance": 0.20382
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A781B

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

Preview Lab → · Contrast checker → · Palette generator →

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