#9C781B#9C781B

#9C781B is a mid, moderate orange. Relative luminance 0.206; OKLCH L 59.2% C 0.112 H 85.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9C781B
RGBrgb(156, 120, 27)
HSLhsl(43, 70%, 36%)
HSVhsv(43, 83%, 61%)
CMYKcmyk(0%, 23.1%, 82.7%, 38.8%)
CIE-LABlab(52.49, 5.26, 52.03)
CIE-LCHlch(52.49, 52.29, 84.23°)
OKLaboklab(59.24% 0.0087 0.1121)
OKLCHoklch(59.24% 0.112 85.6)
XYZxyz(20.6260, 20.5815, 3.9230)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C781B #1B3F9C
analogous
#9C371B #9C781B #7F9C1B
triadic
#9C781B #1B9C78 #781B9C
tetradic
#9C781B #1B9C37 #1B3F9C #9C1B7F
square
#9C781B #1B9C37 #1B3F9C #9C1B7F
split-complementary
#9C781B #1B7F9C #371B9C
monochromatic
#342809 #685012 #9C781B #D0A024 #E1B951

Accessibility & contrast

On white

4.10
#9C781B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#9C781B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C781B
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C781B#FFFFFF#000000##000000
##9C781B1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887804
Deuteranopia (green-blind)
#918120
Tritanopia (blue-blind)
#AA6C67
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9c781b;
/* rgb */ color: rgb(156, 120, 27);
/* oklch */ color: oklch(59.2% 0.112 85.6);
Tailwind
colors: {
  custom: {
    50: '#be9e61',
    500: '#9c781b',
    950: '#000000',
  },
}
SCSS
$custom: #9c781b;
$custom-light: #be9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#9c781b",
  "rgb": {
    "r": 156,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 43.256,
    "s": 70.492,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59237,
    "c": 0.11248,
    "h": 85.6
  },
  "luminance": 0.2058
}

Semantic roles & 50–950 ramp

primary
#9C781B
secondary
#4F70C3
accent
#6CED3B
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9C781B

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

Preview Lab → · Contrast checker → · Palette generator →

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