#9C8B37#9C8B37

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

Color values

HEX#9C8B37
RGBrgb(156, 139, 55)
HSLhsl(50, 48%, 41%)
HSVhsv(50, 65%, 61%)
CMYKcmyk(0%, 10.9%, 64.7%, 38.8%)
CIE-LABlab(57.86, -3.93, 45.90)
CIE-LCHlch(57.86, 46.07, 94.90°)
OKLaboklab(63.54% -0.0144 0.1046)
OKLCHoklch(63.54% 0.106 97.8)
XYZxyz(23.6335, 25.8101, 7.3507)
Luminance0.2581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8B37 #37489C
analogous
#9C5937 #9C8B37 #7B9C37
triadic
#9C8B37 #379C8B #8B379C
tetradic
#9C8B37 #379C59 #37489C #9C377B
square
#9C8B37 #379C59 #37489C #9C377B
split-complementary
#9C8B37 #377B9C #59379C
monochromatic
#423A17 #6F6327 #9C8B37 #C1AE4F #D1C37C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8B37#FFFFFF#000000##000000
##9C8B371.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)
#98882D
Deuteranopia (green-blind)
#9D8E3B
Tritanopia (blue-blind)
#A88179
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8b37;
/* rgb */ color: rgb(156, 139, 55);
/* oklch */ color: oklch(63.5% 0.106 97.8);
Tailwind
colors: {
  custom: {
    50: '#bcac72',
    500: '#9c8b37',
    950: '#000000',
  },
}
SCSS
$custom: #9c8b37;
$custom-light: #bcac72;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8b37",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 55
  },
  "hsl": {
    "h": 49.901,
    "s": 47.867,
    "l": 41.373
  },
  "oklch": {
    "l": 0.63537,
    "c": 0.10561,
    "h": 97.8
  },
  "luminance": 0.25809
}

Semantic roles & 50–950 ramp

primary
#9C8B37
secondary
#7580BA
accent
#67D750
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8B37

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

Preview Lab → · Contrast checker → · Palette generator →

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