#9C861F#9C861F

#9C861F is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.3% C 0.118 H 96.2°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9C861F
RGBrgb(156, 134, 31)
HSLhsl(49, 67%, 37%)
HSVhsv(49, 80%, 61%)
CMYKcmyk(0%, 14.1%, 80.1%, 38.8%)
CIE-LABlab(56.31, -2.43, 54.08)
CIE-LCHlch(56.31, 54.13, 92.58°)
OKLaboklab(62.25% -0.0128 0.1175)
OKLCHoklch(62.25% 0.118 96.2)
XYZxyz(22.4839, 24.2183, 4.7864)
Luminance0.2422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C861F #1F359C
analogous
#9C481F #9C861F #749C1F
triadic
#9C861F #1F9C86 #861F9C
tetradic
#9C861F #1F9C48 #1F359C #9C1F74
square
#9C861F #1F9C48 #1F359C #9C1F74
split-complementary
#9C861F #1F749C #481F9C
monochromatic
#362E0B #695A15 #9C861F #CFB229 #DEC658

Accessibility & contrast

On white

3.59
#9C861F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#9C861F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C861F
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C861F#FFFFFF#000000##000000
##9C861F1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958305
Deuteranopia (green-blind)
#9A8A26
Tritanopia (blue-blind)
#A97B73
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9c861f;
/* rgb */ color: rgb(156, 134, 31);
/* oklch */ color: oklch(62.3% 0.118 96.2);
Tailwind
colors: {
  custom: {
    50: '#bda864',
    500: '#9c861f',
    950: '#000000',
  },
}
SCSS
$custom: #9c861f;
$custom-light: #bda864;
$custom-dark: #000000;
JSON
{
  "hex": "#9c861f",
  "rgb": {
    "r": 156,
    "g": 134,
    "b": 31
  },
  "hsl": {
    "h": 49.44,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62254,
    "c": 0.11816,
    "h": 96.2
  },
  "luminance": 0.24217
}

Semantic roles & 50–950 ramp

primary
#9C861F
secondary
#5568C1
accent
#5CEA3E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C861F

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

Preview Lab → · Contrast checker → · Palette generator →

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