#9B8337#9B8337

#9B8337 is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.7% C 0.099 H 91.7°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9B8337
RGBrgb(155, 131, 55)
HSLhsl(46, 48%, 41%)
HSVhsv(46, 65%, 61%)
CMYKcmyk(0%, 15.5%, 64.5%, 39.2%)
CIE-LABlab(55.56, 0.04, 43.38)
CIE-LCHlch(55.56, 43.38, 89.94°)
OKLaboklab(61.7% -0.0029 0.0993)
OKLCHoklch(61.7% 0.099 91.7)
XYZxyz(22.3245, 23.4782, 6.9696)
Luminance0.2348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8337 #374F9B
analogous
#9B5137 #9B8337 #819B37
triadic
#9B8337 #379B83 #83379B
tetradic
#9B8337 #379B51 #374F9B #9B3781
square
#9B8337 #379B51 #374F9B #9B3781
split-complementary
#9B8337 #37819B #51379B
monochromatic
#413717 #6E5D27 #9B8337 #C0A54F #D0BC7C

Accessibility & contrast

On white

3.69
#9B8337 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#9B8337 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8337
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8337#FFFFFF#000000##000000
##9B83371.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90812F
Deuteranopia (green-blind)
#96883A
Tritanopia (blue-blind)
#A77973
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9b8337;
/* rgb */ color: rgb(155, 131, 55);
/* oklch */ color: oklch(61.7% 0.099 91.7);
Tailwind
colors: {
  custom: {
    50: '#bba671',
    500: '#9b8337',
    950: '#000000',
  },
}
SCSS
$custom: #9b8337;
$custom-light: #bba671;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8337",
  "rgb": {
    "r": 155,
    "g": 131,
    "b": 55
  },
  "hsl": {
    "h": 45.6,
    "s": 47.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.617,
    "c": 0.09932,
    "h": 91.7
  },
  "luminance": 0.23477
}

Semantic roles & 50–950 ramp

primary
#9B8337
secondary
#7485BA
accent
#71D751
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #9B8337

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

Preview Lab → · Contrast checker → · Palette generator →

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