#9B954B#9B954B

#9B954B is a light, moderate yellow. Relative luminance 0.290; OKLCH L 65.9% C 0.096 H 104.6°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9B954B
RGBrgb(155, 149, 75)
HSLhsl(56, 35%, 45%)
HSVhsv(56, 52%, 61%)
CMYKcmyk(0%, 3.9%, 51.6%, 39.2%)
CIE-LABlab(60.76, -8.22, 39.47)
CIE-LCHlch(60.76, 40.31, 101.76°)
OKLaboklab(65.89% -0.0242 0.0933)
OKLCHoklch(65.89% 0.096 104.6)
XYZxyz(25.5357, 28.9722, 10.9023)
Luminance0.2897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B954B #4B519B
analogous
#9B6D4B #9B954B #799B4B
triadic
#9B954B #4B9B95 #954B9B
tetradic
#9B954B #4B9B6D #4B519B #9B4B79
square
#9B954B #4B9B6D #4B519B #9B4B79
split-complementary
#9B954B #4B799B #6D4B9B
monochromatic
#494623 #726D37 #9B954B #B8B26C #CCC795

Accessibility & contrast

On white

3.09
#9B954B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#9B954B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B954B
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B954B#FFFFFF#000000##000000
##9B954B1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09044
Deuteranopia (green-blind)
#A2944F
Tritanopia (blue-blind)
#A58D84
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9b954b;
/* rgb */ color: rgb(155, 149, 75);
/* oklch */ color: oklch(65.9% 0.096 104.6);
Tailwind
colors: {
  custom: {
    50: '#bab47f',
    500: '#9b954b',
    950: '#000000',
  },
}
SCSS
$custom: #9b954b;
$custom-light: #bab47f;
$custom-dark: #000000;
JSON
{
  "hex": "#9b954b",
  "rgb": {
    "r": 155,
    "g": 149,
    "b": 75
  },
  "hsl": {
    "h": 55.5,
    "s": 34.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.65885,
    "c": 0.09639,
    "h": 104.6
  },
  "luminance": 0.28971
}

Semantic roles & 50–950 ramp

primary
#9B954B
secondary
#8A8DB8
accent
#65CB5D
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#12110A
muted
#81807C

Preview Lab

Preview with #9B954B

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

Preview Lab → · Contrast checker → · Palette generator →

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