#9A956B#9A956B

#9A956B is a light, muted yellow. Relative luminance 0.294; OKLCH L 66.3% C 0.059 H 102.1°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9A956B
RGBrgb(154, 149, 107)
HSLhsl(54, 19%, 51%)
HSVhsv(54, 31%, 60%)
CMYKcmyk(0%, 3.2%, 30.5%, 39.6%)
CIE-LABlab(61.16, -5.00, 22.90)
CIE-LCHlch(61.16, 23.44, 102.31°)
OKLaboklab(66.34% -0.0123 0.0574)
OKLCHoklch(66.34% 0.059 102.1)
XYZxyz(26.7279, 29.4270, 18.1791)
Luminance0.2943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A956B #6B709A
analogous
#9A7D6B #9A956B #879A6B
triadic
#9A956B #6B9A95 #956B9A
tetradic
#9A956B #6B9A7D #6B709A #9A6B87
square
#9A956B #6B9A7D #6B709A #9A6B87
split-complementary
#9A956B #6B879A #7D6B9A
monochromatic
#525038 #777351 #9A956B #B3AF8F #CCC9B4

Accessibility & contrast

On white

3.05
#9A956B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#9A956B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A956B
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A956B#FFFFFF#000000##000000
##9A956B1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D9268
Deuteranopia (green-blind)
#9E956D
Tritanopia (blue-blind)
#A18F8A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9a956b;
/* rgb */ color: rgb(154, 149, 107);
/* oklch */ color: oklch(66.3% 0.059 102.1);
Tailwind
colors: {
  custom: {
    50: '#b8b495',
    500: '#9a956b',
    950: '#000000',
  },
}
SCSS
$custom: #9a956b;
$custom-light: #b8b495;
$custom-dark: #000000;
JSON
{
  "hex": "#9a956b",
  "rgb": {
    "r": 154,
    "g": 149,
    "b": 107
  },
  "hsl": {
    "h": 53.617,
    "s": 18.876,
    "l": 51.176
  },
  "oklch": {
    "l": 0.66339,
    "c": 0.05866,
    "h": 102.1
  },
  "luminance": 0.29426
}

Semantic roles & 50–950 ramp

primary
#9A956B
secondary
#A6A8BB
accent
#75BC6C
background
#FBFBF9
surface
#F6F6F1
border
#D0D0CB
text
#11110D
muted
#80807E

Preview Lab

Preview with #9A956B

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

Preview Lab → · Contrast checker → · Palette generator →

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