#9B8D2B#9B8D2B

#9B8D2B is a light, moderate yellow. Relative luminance 0.262; OKLCH L 63.8% C 0.116 H 101.0°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9B8D2B
RGBrgb(155, 141, 43)
HSLhsl(53, 57%, 39%)
HSVhsv(53, 72%, 61%)
CMYKcmyk(0%, 9%, 72.3%, 39.2%)
CIE-LABlab(58.22, -6.19, 51.42)
CIE-LCHlch(58.22, 51.79, 96.86°)
OKLaboklab(63.77% -0.0222 0.1143)
OKLCHoklch(63.77% 0.116 101)
XYZxyz(23.4796, 26.1938, 6.1042)
Luminance0.2619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8D2B #2B399B
analogous
#9B552B #9B8D2B #719B2B
triadic
#9B8D2B #2B9B8D #8D2B9B
tetradic
#9B8D2B #2B9B55 #2B399B #9B2B71
square
#9B8D2B #2B9B55 #2B399B #9B2B71
split-complementary
#9B8D2B #2B719B #552B9B
monochromatic
#3B3610 #6B611E #9B8D2B #C9B73B #D6C86B

Accessibility & contrast

On white

3.37
#9B8D2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#9B8D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8D2B
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8D2B#FFFFFF#000000##000000
##9B8D2B1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A891C
Deuteranopia (green-blind)
#9E8E31
Tritanopia (blue-blind)
#A7837A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9b8d2b;
/* rgb */ color: rgb(155, 141, 43);
/* oklch */ color: oklch(63.8% 0.116 101.0);
Tailwind
colors: {
  custom: {
    50: '#bcae6b',
    500: '#9b8d2b',
    950: '#000000',
  },
}
SCSS
$custom: #9b8d2b;
$custom-light: #bcae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8d2b",
  "rgb": {
    "r": 155,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 52.5,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63773,
    "c": 0.11639,
    "h": 101
  },
  "luminance": 0.26193
}

Semantic roles & 50–950 ramp

primary
#9B8D2B
secondary
#6570BC
accent
#5BE048
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B8D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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