#9B8B4E#9B8B4E

#9B8B4E is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.7% C 0.083 H 95.1°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9B8B4E
RGBrgb(155, 139, 78)
HSLhsl(48, 33%, 46%)
HSVhsv(48, 50%, 61%)
CMYKcmyk(0%, 10.3%, 49.7%, 39.2%)
CIE-LABlab(58.02, -2.48, 34.62)
CIE-LCHlch(58.02, 34.70, 94.10°)
OKLaboklab(63.73% -0.0074 0.0829)
OKLCHoklch(63.73% 0.083 95.1)
XYZxyz(24.1261, 25.9848, 10.9510)
Luminance0.2598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8B4E #4E5E9B
analogous
#9B644E #9B8B4E #849B4E
triadic
#9B8B4E #4E9B8B #8B4E9B
tetradic
#9B8B4E #4E9B64 #4E5E9B #9B4E84
square
#9B8B4E #4E9B64 #4E5E9B #9B4E84
split-complementary
#9B8B4E #4E849B #644E9B
monochromatic
#4A4225 #72663A #9B8B4E #B7A86F #CBC198

Accessibility & contrast

On white

3.39
#9B8B4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#9B8B4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8B4E
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8B4E#FFFFFF#000000##000000
##9B8B4E1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968849
Deuteranopia (green-blind)
#9A8E50
Tritanopia (blue-blind)
#A5837C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9b8b4e;
/* rgb */ color: rgb(155, 139, 78);
/* oklch */ color: oklch(63.7% 0.083 95.1);
Tailwind
colors: {
  custom: {
    50: '#baac81',
    500: '#9b8b4e',
    950: '#000000',
  },
}
SCSS
$custom: #9b8b4e;
$custom-light: #baac81;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8b4e",
  "rgb": {
    "r": 155,
    "g": 139,
    "b": 78
  },
  "hsl": {
    "h": 47.532,
    "s": 33.047,
    "l": 45.686
  },
  "oklch": {
    "l": 0.6373,
    "c": 0.0832,
    "h": 95.1
  },
  "luminance": 0.25984
}

Semantic roles & 50–950 ramp

primary
#9B8B4E
secondary
#8D96B8
accent
#75C95F
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9B8B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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