#9C8B2B#9C8B2B

#9C8B2B is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.4% C 0.115 H 98.9°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#9C8B2B
RGBrgb(156, 139, 43)
HSLhsl(51, 57%, 39%)
HSVhsv(51, 72%, 61%)
CMYKcmyk(0%, 10.9%, 72.4%, 38.8%)
CIE-LABlab(57.76, -4.64, 51.00)
CIE-LCHlch(57.76, 51.21, 95.20°)
OKLaboklab(63.43% -0.0178 0.1133)
OKLCHoklch(63.43% 0.115 98.9)
XYZxyz(23.3801, 25.7087, 6.0158)
Luminance0.2571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8B2B #2B3C9C
analogous
#9C522B #9C8B2B #759C2B
triadic
#9C8B2B #2B9C8B #8B2B9C
tetradic
#9C8B2B #2B9C52 #2B3C9C #9C2B75
square
#9C8B2B #2B9C52 #2B3C9C #9C2B75
split-complementary
#9C8B2B #2B759C #522B9C
monochromatic
#3C3611 #6C601E #9C8B2B #C9B43B #D6C66B

Accessibility & contrast

On white

3.42
#9C8B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#9C8B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8B2B
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8B2B#FFFFFF#000000##000000
##9C8B2B1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#99871C
Deuteranopia (green-blind)
#9D8D31
Tritanopia (blue-blind)
#A88178
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8b2b;
/* rgb */ color: rgb(156, 139, 43);
/* oklch */ color: oklch(63.4% 0.115 98.9);
Tailwind
colors: {
  custom: {
    50: '#bdac6b',
    500: '#9c8b2b',
    950: '#000000',
  },
}
SCSS
$custom: #9c8b2b;
$custom-light: #bdac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8b2b",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 50.973,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63429,
    "c": 0.11473,
    "h": 98.9
  },
  "luminance": 0.25708
}

Semantic roles & 50–950 ramp

primary
#9C8B2B
secondary
#6673BD
accent
#5FE048
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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