#9B8D3D#9B8D3D

#9B8D3D is a light, moderate yellow. Relative luminance 0.264; OKLCH L 63.9% C 0.102 H 99.5°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#9B8D3D
RGBrgb(155, 141, 61)
HSLhsl(51, 44%, 42%)
HSVhsv(51, 61%, 61%)
CMYKcmyk(0%, 9%, 60.6%, 39.2%)
CIE-LABlab(58.37, -5.05, 43.62)
CIE-LCHlch(58.37, 43.91, 96.60°)
OKLaboklab(63.94% -0.0168 0.1007)
OKLCHoklch(63.94% 0.102 99.5)
XYZxyz(23.8857, 26.3562, 8.2431)
Luminance0.2636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8D3D #3D4B9B
analogous
#9B5E3D #9B8D3D #7A9B3D
triadic
#9B8D3D #3D9B8D #8D3D9B
tetradic
#9B8D3D #3D9B5E #3D4B9B #9B3D7A
square
#9B8D3D #3D9B5E #3D4B9B #9B3D7A
split-complementary
#9B8D3D #3D7A9B #5E3D9B
monochromatic
#433D1A #6F652C #9B8D3D #BDAE58 #CFC384

Accessibility & contrast

On white

3.35
#9B8D3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#9B8D3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8D3D
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8D3D#FFFFFF#000000##000000
##9B8D3D1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998935
Deuteranopia (green-blind)
#9D8F41
Tritanopia (blue-blind)
#A6847C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9b8d3d;
/* rgb */ color: rgb(155, 141, 61);
/* oklch */ color: oklch(63.9% 0.102 99.5);
Tailwind
colors: {
  custom: {
    50: '#bbae76',
    500: '#9b8d3d',
    950: '#000000',
  },
}
SCSS
$custom: #9b8d3d;
$custom-light: #bbae76;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8d3d",
  "rgb": {
    "r": 155,
    "g": 141,
    "b": 61
  },
  "hsl": {
    "h": 51.064,
    "s": 43.519,
    "l": 42.353
  },
  "oklch": {
    "l": 0.63943,
    "c": 0.10205,
    "h": 99.5
  },
  "luminance": 0.26355
}

Semantic roles & 50–950 ramp

primary
#9B8D3D
secondary
#7B84B9
accent
#67D355
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #9B8D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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