#9C8335#9C8335

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

Color values

HEX#9C8335
RGBrgb(156, 131, 53)
HSLhsl(45, 49%, 41%)
HSVhsv(45, 66%, 61%)
CMYKcmyk(0%, 16%, 66%, 38.8%)
CIE-LABlab(55.64, 0.36, 44.44)
CIE-LCHlch(55.64, 44.44, 89.54°)
OKLaboklab(61.78% -0.0023 0.1012)
OKLCHoklch(61.78% 0.101 91.3)
XYZxyz(22.4703, 23.5588, 6.7312)
Luminance0.2356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8335 #354E9C
analogous
#9C4F35 #9C8335 #819C35
triadic
#9C8335 #359C83 #83359C
tetradic
#9C8335 #359C4F #354E9C #9C3581
square
#9C8335 #359C4F #354E9C #9C3581
split-complementary
#9C8335 #35819C #4F359C
monochromatic
#413616 #6E5D25 #9C8335 #C2A64C #D2BC7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8335#FFFFFF#000000##000000
##9C83351.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)
#91812C
Deuteranopia (green-blind)
#978839
Tritanopia (blue-blind)
#A87972
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9c8335;
/* rgb */ color: rgb(156, 131, 53);
/* oklch */ color: oklch(61.8% 0.101 91.3);
Tailwind
colors: {
  custom: {
    50: '#bca670',
    500: '#9c8335',
    950: '#000000',
  },
}
SCSS
$custom: #9c8335;
$custom-light: #bca670;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8335",
  "rgb": {
    "r": 156,
    "g": 131,
    "b": 53
  },
  "hsl": {
    "h": 45.437,
    "s": 49.282,
    "l": 40.98
  },
  "oklch": {
    "l": 0.61782,
    "c": 0.10124,
    "h": 91.3
  },
  "luminance": 0.23558
}

Semantic roles & 50–950 ramp

primary
#9C8335
secondary
#7284BA
accent
#70D94F
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F08
muted
#817F7B

Preview Lab

Preview with #9C8335

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

Preview Lab → · Contrast checker → · Palette generator →

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