#9B8D32#9B8D32

#9B8D32 is a light, moderate yellow. Relative luminance 0.262; OKLCH L 63.8% C 0.111 H 100.5°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9B8D32
RGBrgb(155, 141, 50)
HSLhsl(52, 51%, 40%)
HSVhsv(52, 68%, 61%)
CMYKcmyk(0%, 9%, 67.7%, 39.2%)
CIE-LABlab(58.27, -5.79, 48.55)
CIE-LCHlch(58.27, 48.90, 96.81°)
OKLaboklab(63.83% -0.0202 0.1095)
OKLCHoklch(63.83% 0.111 100.5)
XYZxyz(23.6192, 26.2496, 6.8396)
Luminance0.2625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8D32 #32409B
analogous
#9B5832 #9B8D32 #749B32
triadic
#9B8D32 #329B8D #8D329B
tetradic
#9B8D32 #329B58 #32409B #9B3274
square
#9B8D32 #329B58 #32409B #9B3274
split-complementary
#9B8D32 #32749B #58329B
monochromatic
#3E3914 #6D6323 #9B8D32 #C4B347 #D2C675

Accessibility & contrast

On white

3.36
#9B8D32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#9B8D32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8D32
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8D32#FFFFFF#000000##000000
##9B8D321.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8926
Deuteranopia (green-blind)
#9E8E37
Tritanopia (blue-blind)
#A7837A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9b8d32;
/* rgb */ color: rgb(155, 141, 50);
/* oklch */ color: oklch(63.8% 0.111 100.5);
Tailwind
colors: {
  custom: {
    50: '#bbae6f',
    500: '#9b8d32',
    950: '#000000',
  },
}
SCSS
$custom: #9b8d32;
$custom-light: #bbae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8d32",
  "rgb": {
    "r": 155,
    "g": 141,
    "b": 50
  },
  "hsl": {
    "h": 52,
    "s": 51.22,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63831,
    "c": 0.11132,
    "h": 100.5
  },
  "luminance": 0.26249
}

Semantic roles & 50–950 ramp

primary
#9B8D32
secondary
#6E78BB
accent
#60DB4D
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9B8D32

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

Preview Lab → · Contrast checker → · Palette generator →

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