#9B8335#9B8335

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

Color values

HEX#9B8335
RGBrgb(155, 131, 53)
HSLhsl(46, 49%, 41%)
HSVhsv(46, 66%, 61%)
CMYKcmyk(0%, 15.5%, 65.8%, 39.2%)
CIE-LABlab(55.54, -0.09, 44.30)
CIE-LCHlch(55.54, 44.30, 90.12°)
OKLaboklab(61.68% -0.0035 0.1009)
OKLCHoklch(61.68% 0.101 92)
XYZxyz(22.2776, 23.4594, 6.7222)
Luminance0.2346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8335 #354D9B
analogous
#9B5035 #9B8335 #809B35
triadic
#9B8335 #359B83 #83359B
tetradic
#9B8335 #359B50 #354D9B #9B3580
square
#9B8335 #359B50 #354D9B #9B3580
split-complementary
#9B8335 #35809B #50359B
monochromatic
#403616 #6D5C25 #9B8335 #C2A64C #D1BD79

Accessibility & contrast

On white

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

On black

5.69
#9B8335 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8335
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8335#FFFFFF#000000##000000
##9B83351.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91812C
Deuteranopia (green-blind)
#978839
Tritanopia (blue-blind)
#A77972
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9b8335;
/* rgb */ color: rgb(155, 131, 53);
/* oklch */ color: oklch(61.7% 0.101 92.0);
Tailwind
colors: {
  custom: {
    50: '#bba670',
    500: '#9b8335',
    950: '#000000',
  },
}
SCSS
$custom: #9b8335;
$custom-light: #bba670;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8335",
  "rgb": {
    "r": 155,
    "g": 131,
    "b": 53
  },
  "hsl": {
    "h": 45.882,
    "s": 49.038,
    "l": 40.784
  },
  "oklch": {
    "l": 0.61678,
    "c": 0.101,
    "h": 92
  },
  "luminance": 0.23458
}

Semantic roles & 50–950 ramp

primary
#9B8335
secondary
#7283BA
accent
#70D94F
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F08
muted
#817F7B

Preview Lab

Preview with #9B8335

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

Preview Lab → · Contrast checker → · Palette generator →

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