#9B8D4D#9B8D4D

#9B8D4D is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.2% C 0.086 H 97.3°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9B8D4D
RGBrgb(155, 141, 77)
HSLhsl(49, 34%, 45%)
HSVhsv(49, 50%, 61%)
CMYKcmyk(0%, 9%, 50.3%, 39.2%)
CIE-LABlab(58.56, -3.68, 35.80)
CIE-LCHlch(58.56, 35.99, 95.87°)
OKLaboklab(64.15% -0.0109 0.0854)
OKLCHoklch(64.15% 0.086 97.3)
XYZxyz(24.3827, 26.5551, 10.8610)
Luminance0.2655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8D4D #4D5B9B
analogous
#9B664D #9B8D4D #829B4D
triadic
#9B8D4D #4D9B8D #8D4D9B
tetradic
#9B8D4D #4D9B66 #4D5B9B #9B4D82
square
#9B8D4D #4D9B66 #4D5B9B #9B4D82
split-complementary
#9B8D4D #4D829B #664D9B
monochromatic
#494324 #726839 #9B8D4D #B7AA6E #CBC297

Accessibility & contrast

On white

3.33
#9B8D4D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#9B8D4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8D4D
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8D4D#FFFFFF#000000##000000
##9B8D4D1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A48
Deuteranopia (green-blind)
#9C8F50
Tritanopia (blue-blind)
#A5857E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9b8d4d;
/* rgb */ color: rgb(155, 141, 77);
/* oklch */ color: oklch(64.2% 0.086 97.3);
Tailwind
colors: {
  custom: {
    50: '#baae80',
    500: '#9b8d4d',
    950: '#000000',
  },
}
SCSS
$custom: #9b8d4d;
$custom-light: #baae80;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8d4d",
  "rgb": {
    "r": 155,
    "g": 141,
    "b": 77
  },
  "hsl": {
    "h": 49.231,
    "s": 33.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.64151,
    "c": 0.0861,
    "h": 97.3
  },
  "luminance": 0.26554
}

Semantic roles & 50–950 ramp

primary
#9B8D4D
secondary
#8C94B8
accent
#71CA5E
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9B8D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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