#9B9546#9B9546

#9B9546 is a light, moderate yellow. Relative luminance 0.289; OKLCH L 65.8% C 0.101 H 104.9°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9B9546
RGBrgb(155, 149, 70)
HSLhsl(56, 38%, 44%)
HSVhsv(56, 55%, 61%)
CMYKcmyk(0%, 3.9%, 54.8%, 39.2%)
CIE-LABlab(60.70, -8.66, 41.90)
CIE-LCHlch(60.70, 42.78, 101.68°)
OKLaboklab(65.82% -0.0261 0.098)
OKLCHoklch(65.82% 0.101 104.9)
XYZxyz(25.3713, 28.9065, 10.0362)
Luminance0.2891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9546 #464C9B
analogous
#9B6B46 #9B9546 #779B46
triadic
#9B9546 #469B95 #95469B
tetradic
#9B9546 #469B6B #464C9B #9B4677
square
#9B9546 #469B6B #464C9B #9B4677
split-complementary
#9B9546 #46779B #6B469B
monochromatic
#474420 #716C33 #9B9546 #B9B365 #CCC88F

Accessibility & contrast

On white

3.10
#9B9546 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#9B9546 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9546
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9546#FFFFFF#000000##000000
##9B95461.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0903E
Deuteranopia (green-blind)
#A3944A
Tritanopia (blue-blind)
#A58C83
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9b9546;
/* rgb */ color: rgb(155, 149, 70);
/* oklch */ color: oklch(65.8% 0.101 104.9);
Tailwind
colors: {
  custom: {
    50: '#bab47c',
    500: '#9b9546',
    950: '#000000',
  },
}
SCSS
$custom: #9b9546;
$custom-light: #bab47c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9546",
  "rgb": {
    "r": 155,
    "g": 149,
    "b": 70
  },
  "hsl": {
    "h": 55.765,
    "s": 37.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.6582,
    "c": 0.10144,
    "h": 104.9
  },
  "luminance": 0.28906
}

Semantic roles & 50–950 ramp

primary
#9B9546
secondary
#8588B8
accent
#62CE5A
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#12110A
muted
#81807C

Preview Lab

Preview with #9B9546

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

Preview Lab → · Contrast checker → · Palette generator →

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