#9C8B36#9C8B36

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

Color values

HEX#9C8B36
RGBrgb(156, 139, 54)
HSLhsl(50, 49%, 41%)
HSVhsv(50, 65%, 61%)
CMYKcmyk(0%, 10.9%, 65.4%, 38.8%)
CIE-LABlab(57.85, -4.00, 46.35)
CIE-LCHlch(57.85, 46.52, 94.93°)
OKLaboklab(63.53% -0.0147 0.1054)
OKLCHoklch(63.53% 0.106 97.9)
XYZxyz(23.6098, 25.8006, 7.2257)
Luminance0.2580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8B36 #36479C
analogous
#9C5836 #9C8B36 #7A9C36
triadic
#9C8B36 #369C8B #8B369C
tetradic
#9C8B36 #369C58 #36479C #9C367A
square
#9C8B36 #369C58 #36479C #9C367A
split-complementary
#9C8B36 #367A9C #58369C
monochromatic
#413A17 #6F6226 #9C8B36 #C2AE4E #D1C37B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8B36#FFFFFF#000000##000000
##9C8B361.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)
#98882C
Deuteranopia (green-blind)
#9D8E3A
Tritanopia (blue-blind)
#A88179
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8b36;
/* rgb */ color: rgb(156, 139, 54);
/* oklch */ color: oklch(63.5% 0.106 97.9);
Tailwind
colors: {
  custom: {
    50: '#bcac71',
    500: '#9c8b36',
    950: '#000000',
  },
}
SCSS
$custom: #9c8b36;
$custom-light: #bcac71;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8b36",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 54
  },
  "hsl": {
    "h": 50,
    "s": 48.571,
    "l": 41.176
  },
  "oklch": {
    "l": 0.63527,
    "c": 0.10644,
    "h": 97.9
  },
  "luminance": 0.25799
}

Semantic roles & 50–950 ramp

primary
#9C8B36
secondary
#747FBA
accent
#66D850
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8B36

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

Preview Lab → · Contrast checker → · Palette generator →

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