#9D956F#9D956F

#9D956F is a light, muted yellow. Relative luminance 0.298; OKLCH L 66.7% C 0.054 H 97.6°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9D956F
RGBrgb(157, 149, 111)
HSLhsl(50, 19%, 53%)
HSVhsv(50, 29%, 62%)
CMYKcmyk(0%, 5.1%, 29.3%, 38.4%)
CIE-LABlab(61.49, -3.23, 21.18)
CIE-LCHlch(61.49, 21.42, 98.66°)
OKLaboklab(66.69% -0.0071 0.0533)
OKLCHoklch(66.69% 0.054 97.6)
XYZxyz(27.5215, 29.8113, 19.3402)
Luminance0.2981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D956F #6F779D
analogous
#9D7E6F #9D956F #8E9D6F
triadic
#9D956F #6F9D95 #956F9D
tetradic
#9D956F #6F9D7E #6F779D #9D6F8E
square
#9D956F #6F9D7E #6F779D #9D6F8E
split-complementary
#9D956F #6F8E9D #7E6F9D
monochromatic
#57523B #7B7454 #9D956F #B6B093 #CFCBB8

Accessibility & contrast

On white

3.02
#9D956F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#9D956F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D956F
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D956F#FFFFFF#000000##000000
##9D956F1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D936D
Deuteranopia (green-blind)
#9F9670
Tritanopia (blue-blind)
#A48F8B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9d956f;
/* rgb */ color: rgb(157, 149, 111);
/* oklch */ color: oklch(66.7% 0.054 97.6);
Tailwind
colors: {
  custom: {
    50: '#bab498',
    500: '#9d956f',
    950: '#000000',
  },
}
SCSS
$custom: #9d956f;
$custom-light: #bab498;
$custom-dark: #000000;
JSON
{
  "hex": "#9d956f",
  "rgb": {
    "r": 157,
    "g": 149,
    "b": 111
  },
  "hsl": {
    "h": 49.565,
    "s": 19.008,
    "l": 52.549
  },
  "oklch": {
    "l": 0.66691,
    "c": 0.05379,
    "h": 97.6
  },
  "luminance": 0.29811
}

Semantic roles & 50–950 ramp

primary
#9D956F
secondary
#AAADBE
accent
#7ABC6C
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12110D
muted
#81807E

Preview Lab

Preview with #9D956F

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

Preview Lab → · Contrast checker → · Palette generator →

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