#9C8B34#9C8B34

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

Color values

HEX#9C8B34
RGBrgb(156, 139, 52)
HSLhsl(50, 50%, 41%)
HSVhsv(50, 67%, 61%)
CMYKcmyk(0%, 10.9%, 66.7%, 38.8%)
CIE-LABlab(57.83, -4.13, 47.24)
CIE-LCHlch(57.83, 47.42, 95.00°)
OKLaboklab(63.51% -0.0153 0.107)
OKLCHoklch(63.51% 0.108 98.1)
XYZxyz(23.5638, 25.7822, 6.9834)
Luminance0.2578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8B34 #34459C
analogous
#9C5734 #9C8B34 #799C34
triadic
#9C8B34 #349C8B #8B349C
tetradic
#9C8B34 #349C57 #34459C #9C3479
square
#9C8B34 #349C57 #34459C #9C3479
split-complementary
#9C8B34 #34799C #57349C
monochromatic
#403915 #6E6225 #9C8B34 #C3AF4A #D2C378

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8B34#FFFFFF#000000##000000
##9C8B341.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)
#988829
Deuteranopia (green-blind)
#9D8D39
Tritanopia (blue-blind)
#A88179
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8b34;
/* rgb */ color: rgb(156, 139, 52);
/* oklch */ color: oklch(63.5% 0.108 98.1);
Tailwind
colors: {
  custom: {
    50: '#bcac70',
    500: '#9c8b34',
    950: '#000000',
  },
}
SCSS
$custom: #9c8b34;
$custom-light: #bcac70;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8b34",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 52
  },
  "hsl": {
    "h": 50.192,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.63507,
    "c": 0.10806,
    "h": 98.1
  },
  "luminance": 0.25781
}

Semantic roles & 50–950 ramp

primary
#9C8B34
secondary
#717DBB
accent
#65DA4E
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8B34

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

Preview Lab → · Contrast checker → · Palette generator →

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