#9B8329#9B8329

#9B8329 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.6% C 0.110 H 93.7°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9B8329
RGBrgb(155, 131, 41)
HSLhsl(47, 58%, 38%)
HSVhsv(47, 74%, 61%)
CMYKcmyk(0%, 15.5%, 73.5%, 39.2%)
CIE-LABlab(55.44, -0.79, 49.49)
CIE-LCHlch(55.44, 49.50, 90.91°)
OKLaboklab(61.57% -0.007 0.1098)
OKLCHoklch(61.57% 0.11 93.7)
XYZxyz(22.0353, 23.3625, 5.4462)
Luminance0.2336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8329 #29419B
analogous
#9B4A29 #9B8329 #7A9B29
triadic
#9B8329 #299B83 #83299B
tetradic
#9B8329 #299B4A #29419B #9B297A
square
#9B8329 #299B4A #29419B #9B297A
split-complementary
#9B8329 #297A9B #4A299B
monochromatic
#3A310F #6B5A1C #9B8329 #CAAB37 #D7BF67

Accessibility & contrast

On white

3.70
#9B8329 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#9B8329 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8329
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8329#FFFFFF#000000##000000
##9B83291.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811B
Deuteranopia (green-blind)
#97882E
Tritanopia (blue-blind)
#A87871
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9b8329;
/* rgb */ color: rgb(155, 131, 41);
/* oklch */ color: oklch(61.6% 0.110 93.7);
Tailwind
colors: {
  custom: {
    50: '#bca669',
    500: '#9b8329',
    950: '#000000',
  },
}
SCSS
$custom: #9b8329;
$custom-light: #bca669;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8329",
  "rgb": {
    "r": 155,
    "g": 131,
    "b": 41
  },
  "hsl": {
    "h": 47.368,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61569,
    "c": 0.11001,
    "h": 93.7
  },
  "luminance": 0.23361
}

Semantic roles & 50–950 ramp

primary
#9B8329
secondary
#6376BD
accent
#67E146
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9B8329

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

Preview Lab → · Contrast checker → · Palette generator →

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