#9C8B35#9C8B35

#9C8B35 is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.5% C 0.107 H 98.0°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9C8B35
RGBrgb(156, 139, 53)
HSLhsl(50, 49%, 41%)
HSVhsv(50, 66%, 61%)
CMYKcmyk(0%, 10.9%, 66%, 38.8%)
CIE-LABlab(57.84, -4.06, 46.80)
CIE-LCHlch(57.84, 46.97, 94.96°)
OKLaboklab(63.52% -0.015 0.1062)
OKLCHoklch(63.52% 0.107 98)
XYZxyz(23.5866, 25.7913, 7.1033)
Luminance0.2579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8B35 #35469C
analogous
#9C5735 #9C8B35 #799C35
triadic
#9C8B35 #359C8B #8B359C
tetradic
#9C8B35 #359C57 #35469C #9C3579
square
#9C8B35 #359C57 #35469C #9C3579
split-complementary
#9C8B35 #35799C #57359C
monochromatic
#413A16 #6E6225 #9C8B35 #C2AF4C #D2C37A

Accessibility & contrast

On white

3.41
#9C8B35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#9C8B35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8B35
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8B35#FFFFFF#000000##000000
##9C8B351.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#98882B
Deuteranopia (green-blind)
#9D8E3A
Tritanopia (blue-blind)
#A88179
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8b35;
/* rgb */ color: rgb(156, 139, 53);
/* oklch */ color: oklch(63.5% 0.107 98.0);
Tailwind
colors: {
  custom: {
    50: '#bcac70',
    500: '#9c8b35',
    950: '#000000',
  },
}
SCSS
$custom: #9c8b35;
$custom-light: #bcac70;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8b35",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 53
  },
  "hsl": {
    "h": 50.097,
    "s": 49.282,
    "l": 40.98
  },
  "oklch": {
    "l": 0.63517,
    "c": 0.10726,
    "h": 98
  },
  "luminance": 0.2579
}

Semantic roles & 50–950 ramp

primary
#9C8B35
secondary
#727EBA
accent
#66D94F
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8B35

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

Preview Lab → · Contrast checker → · Palette generator →

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