#9B9541#9B9541

#9B9541 is a light, moderate yellow. Relative luminance 0.288; OKLCH L 65.8% C 0.106 H 105.2°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9B9541
RGBrgb(155, 149, 65)
HSLhsl(56, 41%, 43%)
HSVhsv(56, 58%, 61%)
CMYKcmyk(0%, 3.9%, 58.1%, 39.2%)
CIE-LABlab(60.65, -9.07, 44.26)
CIE-LCHlch(60.65, 45.18, 101.58°)
OKLaboklab(65.76% -0.0278 0.1025)
OKLCHoklch(65.76% 0.106 105.2)
XYZxyz(25.2199, 28.8459, 9.2393)
Luminance0.2884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9541 #41479B
analogous
#9B6841 #9B9541 #749B41
triadic
#9B9541 #419B95 #95419B
tetradic
#9B9541 #419B68 #41479B #9B4174
square
#9B9541 #419B68 #41479B #9B4174
split-complementary
#9B9541 #41749B #68419B
monochromatic
#45421D #706C2F #9B9541 #BBB55E #CDC989

Accessibility & contrast

On white

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

On black

6.77
#9B9541 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9541
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9541#FFFFFF#000000##000000
##9B95411.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19038
Deuteranopia (green-blind)
#A39445
Tritanopia (blue-blind)
#A68C83
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9b9541;
/* rgb */ color: rgb(155, 149, 65);
/* oklch */ color: oklch(65.8% 0.106 105.2);
Tailwind
colors: {
  custom: {
    50: '#bbb379',
    500: '#9b9541',
    950: '#000000',
  },
}
SCSS
$custom: #9b9541;
$custom-light: #bbb379;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9541",
  "rgb": {
    "r": 155,
    "g": 149,
    "b": 65
  },
  "hsl": {
    "h": 56,
    "s": 40.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.6576,
    "c": 0.10624,
    "h": 105.2
  },
  "luminance": 0.28845
}

Semantic roles & 50–950 ramp

primary
#9B9541
secondary
#8083B8
accent
#5FD157
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121109
muted
#81807B

Preview Lab

Preview with #9B9541

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

Preview Lab → · Contrast checker → · Palette generator →

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