#9B8129#9B8129

#9B8129 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 61.1% C 0.109 H 92.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9B8129
RGBrgb(155, 129, 41)
HSLhsl(46, 58%, 38%)
HSVhsv(46, 74%, 61%)
CMYKcmyk(0%, 16.8%, 73.5%, 39.2%)
CIE-LABlab(54.90, 0.33, 48.95)
CIE-LCHlch(54.90, 48.95, 89.62°)
OKLaboklab(61.14% -0.0038 0.1086)
OKLCHoklch(61.14% 0.109 92)
XYZxyz(21.7692, 22.8305, 5.3575)
Luminance0.2283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8129 #29439B
analogous
#9B4829 #9B8129 #7C9B29
triadic
#9B8129 #299B81 #81299B
tetradic
#9B8129 #299B48 #29439B #9B297C
square
#9B8129 #299B48 #29439B #9B297C
split-complementary
#9B8129 #297C9B #48299B
monochromatic
#3A300F #6B591C #9B8129 #CAA937 #D7BE67

Accessibility & contrast

On white

3.77
#9B8129 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#9B8129 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8129
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8129#FFFFFF#000000##000000
##9B81291.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1C
Deuteranopia (green-blind)
#96872E
Tritanopia (blue-blind)
#A8766F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9b8129;
/* rgb */ color: rgb(155, 129, 41);
/* oklch */ color: oklch(61.1% 0.109 92.0);
Tailwind
colors: {
  custom: {
    50: '#bca569',
    500: '#9b8129',
    950: '#000000',
  },
}
SCSS
$custom: #9b8129;
$custom-light: #bca569;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8129",
  "rgb": {
    "r": 155,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 46.316,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61137,
    "c": 0.10871,
    "h": 92
  },
  "luminance": 0.22829
}

Semantic roles & 50–950 ramp

primary
#9B8129
secondary
#6377BD
accent
#6AE146
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #9B8129

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

Preview Lab → · Contrast checker → · Palette generator →

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