#9B8747#9B8747

#9B8747 is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.8% C 0.087 H 92.4°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9B8747
RGBrgb(155, 135, 71)
HSLhsl(46, 37%, 44%)
HSVhsv(46, 54%, 61%)
CMYKcmyk(0%, 12.9%, 54.2%, 39.2%)
CIE-LABlab(56.83, -0.92, 36.84)
CIE-LCHlch(56.83, 36.85, 91.43°)
OKLaboklab(62.76% -0.0036 0.0872)
OKLCHoklch(62.76% 0.087 92.4)
XYZxyz(23.3197, 24.7525, 9.5094)
Luminance0.2475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8747 #475B9B
analogous
#9B5D47 #9B8747 #859B47
triadic
#9B8747 #479B87 #87479B
tetradic
#9B8747 #479B5D #475B9B #9B4785
square
#9B8747 #479B5D #475B9B #9B4785
split-complementary
#9B8747 #47859B #5D479B
monochromatic
#473E21 #716234 #9B8747 #B9A566 #CCBE90

Accessibility & contrast

On white

3.53
#9B8747 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#9B8747 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8747
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8747#FFFFFF#000000##000000
##9B87471.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938541
Deuteranopia (green-blind)
#988B4A
Tritanopia (blue-blind)
#A67E78
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9b8747;
/* rgb */ color: rgb(155, 135, 71);
/* oklch */ color: oklch(62.8% 0.087 92.4);
Tailwind
colors: {
  custom: {
    50: '#baa97c',
    500: '#9b8747',
    950: '#000000',
  },
}
SCSS
$custom: #9b8747;
$custom-light: #baa97c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8747",
  "rgb": {
    "r": 155,
    "g": 135,
    "b": 71
  },
  "hsl": {
    "h": 45.714,
    "s": 37.168,
    "l": 44.314
  },
  "oklch": {
    "l": 0.62761,
    "c": 0.08723,
    "h": 92.4
  },
  "luminance": 0.24751
}

Semantic roles & 50–950 ramp

primary
#9B8747
secondary
#8692B8
accent
#76CD5B
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#120F09
muted
#817F7B

Preview Lab

Preview with #9B8747

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

Preview Lab → · Contrast checker → · Palette generator →

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