#9C8334#9C8334

#9C8334 is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.8% C 0.102 H 91.5°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9C8334
RGBrgb(156, 131, 52)
HSLhsl(46, 50%, 41%)
HSVhsv(46, 67%, 61%)
CMYKcmyk(0%, 16%, 66.7%, 38.8%)
CIE-LABlab(55.63, 0.30, 44.90)
CIE-LCHlch(55.63, 44.90, 89.62°)
OKLaboklab(61.77% -0.0026 0.102)
OKLCHoklch(61.77% 0.102 91.5)
XYZxyz(22.4476, 23.5497, 6.6113)
Luminance0.2355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8334 #344D9C
analogous
#9C4F34 #9C8334 #819C34
triadic
#9C8334 #349C83 #83349C
tetradic
#9C8334 #349C4F #344D9C #9C3481
square
#9C8334 #349C4F #344D9C #9C3481
split-complementary
#9C8334 #34819C #4F349C
monochromatic
#403615 #6E5C25 #9C8334 #C3A64A #D2BD78

Accessibility & contrast

On white

3.68
#9C8334 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#9C8334 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8334
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8334#FFFFFF#000000##000000
##9C83341.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91812B
Deuteranopia (green-blind)
#978838
Tritanopia (blue-blind)
#A87972
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9c8334;
/* rgb */ color: rgb(156, 131, 52);
/* oklch */ color: oklch(61.8% 0.102 91.5);
Tailwind
colors: {
  custom: {
    50: '#bca66f',
    500: '#9c8334',
    950: '#000000',
  },
}
SCSS
$custom: #9c8334;
$custom-light: #bca66f;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8334",
  "rgb": {
    "r": 156,
    "g": 131,
    "b": 52
  },
  "hsl": {
    "h": 45.577,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.61771,
    "c": 0.10204,
    "h": 91.5
  },
  "luminance": 0.23548
}

Semantic roles & 50–950 ramp

primary
#9C8334
secondary
#7183BB
accent
#70DA4E
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9C8334

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

Preview Lab → · Contrast checker → · Palette generator →

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