#9B954D#9B954D

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

Color values

HEX#9B954D
RGBrgb(155, 149, 77)
HSLhsl(55, 34%, 45%)
HSVhsv(55, 50%, 61%)
CMYKcmyk(0%, 3.9%, 50.3%, 39.2%)
CIE-LABlab(60.78, -8.03, 38.48)
CIE-LCHlch(60.78, 39.31, 101.79°)
OKLaboklab(65.91% -0.0235 0.0913)
OKLCHoklch(65.91% 0.094 104.4)
XYZxyz(25.6052, 29.0000, 11.2685)
Luminance0.2900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B954D #4D539B
analogous
#9B6E4D #9B954D #7A9B4D
triadic
#9B954D #4D9B95 #954D9B
tetradic
#9B954D #4D9B6E #4D539B #9B4D7A
square
#9B954D #4D9B6E #4D539B #9B4D7A
split-complementary
#9B954D #4D7A9B #6E4D9B
monochromatic
#494624 #726E39 #9B954D #B7B16E #CBC797

Accessibility & contrast

On white

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

On black

6.80
#9B954D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B954D
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B954D#FFFFFF#000000##000000
##9B954D1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b954d;
/* rgb */ color: rgb(155, 149, 77);
/* oklch */ color: oklch(65.9% 0.094 104.4);
Tailwind
colors: {
  custom: {
    50: '#bab481',
    500: '#9b954d',
    950: '#000000',
  },
}
SCSS
$custom: #9b954d;
$custom-light: #bab481;
$custom-dark: #000000;
JSON
{
  "hex": "#9b954d",
  "rgb": {
    "r": 155,
    "g": 149,
    "b": 77
  },
  "hsl": {
    "h": 55.385,
    "s": 33.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.65913,
    "c": 0.09428,
    "h": 104.4
  },
  "luminance": 0.28999
}

Semantic roles & 50–950 ramp

primary
#9B954D
secondary
#8C8FB8
accent
#66CA5E
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#12110A
muted
#81807C

Preview Lab

Preview with #9B954D

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

Preview Lab → · Contrast checker → · Palette generator →

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