#9C8337#9C8337

#9C8337 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.8% C 0.100 H 91.0°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9C8337
RGBrgb(156, 131, 55)
HSLhsl(45, 48%, 41%)
HSVhsv(45, 65%, 61%)
CMYKcmyk(0%, 16%, 64.7%, 38.8%)
CIE-LABlab(55.66, 0.49, 43.52)
CIE-LCHlch(55.66, 43.52, 89.35°)
OKLaboklab(61.8% -0.0017 0.0996)
OKLCHoklch(61.8% 0.1 91)
XYZxyz(22.5173, 23.5776, 6.9786)
Luminance0.2358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8337 #37509C
analogous
#9C5137 #9C8337 #839C37
triadic
#9C8337 #379C83 #83379C
tetradic
#9C8337 #379C51 #37509C #9C3783
square
#9C8337 #379C51 #37509C #9C3783
split-complementary
#9C8337 #37839C #51379C
monochromatic
#423717 #6F5D27 #9C8337 #C1A54F #D1BC7C

Accessibility & contrast

On white

3.67
#9C8337 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#9C8337 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8337
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8337#FFFFFF#000000##000000
##9C83371.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91812F
Deuteranopia (green-blind)
#97883A
Tritanopia (blue-blind)
#A87973
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9c8337;
/* rgb */ color: rgb(156, 131, 55);
/* oklch */ color: oklch(61.8% 0.100 91.0);
Tailwind
colors: {
  custom: {
    50: '#bca671',
    500: '#9c8337',
    950: '#000000',
  },
}
SCSS
$custom: #9c8337;
$custom-light: #bca671;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8337",
  "rgb": {
    "r": 156,
    "g": 131,
    "b": 55
  },
  "hsl": {
    "h": 45.149,
    "s": 47.867,
    "l": 41.373
  },
  "oklch": {
    "l": 0.61803,
    "c": 0.09956,
    "h": 91
  },
  "luminance": 0.23576
}

Semantic roles & 50–950 ramp

primary
#9C8337
secondary
#7586BA
accent
#72D750
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #9C8337

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

Preview Lab → · Contrast checker → · Palette generator →

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