#9B8D3E#9B8D3E

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

Color values

HEX#9B8D3E
RGBrgb(155, 141, 62)
HSLhsl(51, 43%, 43%)
HSVhsv(51, 60%, 61%)
CMYKcmyk(0%, 9%, 60%, 39.2%)
CIE-LABlab(58.38, -4.97, 43.15)
CIE-LCHlch(58.38, 43.44, 96.57°)
OKLaboklab(63.96% -0.0164 0.0998)
OKLCHoklch(63.96% 0.101 99.4)
XYZxyz(23.9129, 26.3671, 8.3863)
Luminance0.2637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8D3E #3E4C9B
analogous
#9B5F3E #9B8D3E #7A9B3E
triadic
#9B8D3E #3E9B8D #8D3E9B
tetradic
#9B8D3E #3E9B5F #3E4C9B #9B3E7A
square
#9B8D3E #3E9B5F #3E4C9B #9B3E7A
split-complementary
#9B8D3E #3E7A9B #5F3E9B
monochromatic
#443D1B #6F652D #9B8D3E #BDAE59 #CEC385

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B8D3E#FFFFFF#000000##000000
##9B8D3E1.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)
#998936
Deuteranopia (green-blind)
#9D8F42
Tritanopia (blue-blind)
#A6847C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9b8d3e;
/* rgb */ color: rgb(155, 141, 62);
/* oklch */ color: oklch(64.0% 0.101 99.4);
Tailwind
colors: {
  custom: {
    50: '#bbae76',
    500: '#9b8d3e',
    950: '#000000',
  },
}
SCSS
$custom: #9b8d3e;
$custom-light: #bbae76;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8d3e",
  "rgb": {
    "r": 155,
    "g": 141,
    "b": 62
  },
  "hsl": {
    "h": 50.968,
    "s": 42.857,
    "l": 42.549
  },
  "oklch": {
    "l": 0.63955,
    "c": 0.10114,
    "h": 99.4
  },
  "luminance": 0.26366
}

Semantic roles & 50–950 ramp

primary
#9B8D3E
secondary
#7C85B9
accent
#68D355
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #9B8D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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