#9B8A36#9B8A36

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

Color values

HEX#9B8A36
RGBrgb(155, 138, 54)
HSLhsl(50, 48%, 41%)
HSVhsv(50, 65%, 61%)
CMYKcmyk(0%, 11%, 65.2%, 39.2%)
CIE-LABlab(57.48, -3.90, 45.92)
CIE-LCHlch(57.48, 46.09, 94.85°)
OKLaboklab(63.21% -0.0143 0.1045)
OKLCHoklch(63.21% 0.106 97.8)
XYZxyz(23.2729, 25.4129, 7.1686)
Luminance0.2541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8A36 #36479B
analogous
#9B5736 #9B8A36 #799B36
triadic
#9B8A36 #369B8A #8A369B
tetradic
#9B8A36 #369B57 #36479B #9B3679
square
#9B8A36 #369B57 #36479B #9B3679
split-complementary
#9B8A36 #36799B #57369B
monochromatic
#403916 #6E6226 #9B8A36 #C1AE4D #D1C27B

Accessibility & contrast

On white

3.45
#9B8A36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#9B8A36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8A36
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8A36#FFFFFF#000000##000000
##9B8A361.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97872C
Deuteranopia (green-blind)
#9C8D3A
Tritanopia (blue-blind)
#A78078
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9b8a36;
/* rgb */ color: rgb(155, 138, 54);
/* oklch */ color: oklch(63.2% 0.106 97.8);
Tailwind
colors: {
  custom: {
    50: '#bbab71',
    500: '#9b8a36',
    950: '#000000',
  },
}
SCSS
$custom: #9b8a36;
$custom-light: #bbab71;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8a36",
  "rgb": {
    "r": 155,
    "g": 138,
    "b": 54
  },
  "hsl": {
    "h": 49.901,
    "s": 48.325,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6321,
    "c": 0.10552,
    "h": 97.8
  },
  "luminance": 0.25412
}

Semantic roles & 50–950 ramp

primary
#9B8A36
secondary
#737FBA
accent
#67D850
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9B8A36

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

Preview Lab → · Contrast checker → · Palette generator →

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