#9B9548#9B9548

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

Color values

HEX#9B9548
RGBrgb(155, 149, 72)
HSLhsl(56, 37%, 45%)
HSVhsv(56, 54%, 61%)
CMYKcmyk(0%, 3.9%, 53.5%, 39.2%)
CIE-LABlab(60.72, -8.49, 40.93)
CIE-LCHlch(60.72, 41.80, 101.72°)
OKLaboklab(65.85% -0.0253 0.0962)
OKLCHoklch(65.85% 0.099 104.8)
XYZxyz(25.4354, 28.9321, 10.3742)
Luminance0.2893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9548 #484E9B
analogous
#9B6C48 #9B9548 #789B48
triadic
#9B9548 #489B95 #95489B
tetradic
#9B9548 #489B6C #484E9B #9B4878
square
#9B9548 #489B6C #484E9B #9B4878
split-complementary
#9B9548 #48789B #6C489B
monochromatic
#474521 #716D35 #9B9548 #B9B368 #CCC891

Accessibility & contrast

On white

3.09
#9B9548 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#9B9548 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9548
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9548#FFFFFF#000000##000000
##9B95481.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09041
Deuteranopia (green-blind)
#A3944C
Tritanopia (blue-blind)
#A58C84
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9b9548;
/* rgb */ color: rgb(155, 149, 72);
/* oklch */ color: oklch(65.8% 0.099 104.8);
Tailwind
colors: {
  custom: {
    50: '#bab47d',
    500: '#9b9548',
    950: '#000000',
  },
}
SCSS
$custom: #9b9548;
$custom-light: #bab47d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9548",
  "rgb": {
    "r": 155,
    "g": 149,
    "b": 72
  },
  "hsl": {
    "h": 55.663,
    "s": 36.564,
    "l": 44.51
  },
  "oklch": {
    "l": 0.65846,
    "c": 0.09945,
    "h": 104.8
  },
  "luminance": 0.28931
}

Semantic roles & 50–950 ramp

primary
#9B9548
secondary
#878AB8
accent
#63CD5B
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#12110A
muted
#81807C

Preview Lab

Preview with #9B9548

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

Preview Lab → · Contrast checker → · Palette generator →

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