#9C995B#9C995B

#9C995B is a light, moderate yellow. Relative luminance 0.306; OKLCH L 67.1% C 0.083 H 106.0°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#9C995B
RGBrgb(156, 153, 91)
HSLhsl(57, 26%, 48%)
HSVhsv(57, 42%, 61%)
CMYKcmyk(0%, 1.9%, 41.7%, 38.8%)
CIE-LABlab(62.17, -8.31, 32.93)
CIE-LCHlch(62.17, 33.96, 104.17°)
OKLaboklab(67.1% -0.023 0.0799)
OKLCHoklch(67.1% 0.083 106)
XYZxyz(26.9903, 30.6064, 14.3813)
Luminance0.3061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C995B #5B5E9C
analogous
#9C785B #9C995B #7E9C5B
triadic
#9C995B #5B9C99 #995B9C
tetradic
#9C995B #5B9C78 #5B5E9C #9C5B7E
square
#9C995B #5B9C78 #5B5E9C #9C5B7E
split-complementary
#9C995B #5B7E9C #785B9C
monochromatic
#4F4D2E #757344 #9C995B #B5B280 #CBC9A6

Accessibility & contrast

On white

2.95
#9C995B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#9C995B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C995B
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C995B#FFFFFF#000000##000000
##9C995B1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39556
Deuteranopia (green-blind)
#A4985E
Tritanopia (blue-blind)
#A5928A
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9c995b;
/* rgb */ color: rgb(156, 153, 91);
/* oklch */ color: oklch(67.1% 0.083 106.0);
Tailwind
colors: {
  custom: {
    50: '#bab68a',
    500: '#9c995b',
    950: '#000000',
  },
}
SCSS
$custom: #9c995b;
$custom-light: #bab68a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c995b",
  "rgb": {
    "r": 156,
    "g": 153,
    "b": 91
  },
  "hsl": {
    "h": 57.231,
    "s": 26.316,
    "l": 48.431
  },
  "oklch": {
    "l": 0.67101,
    "c": 0.08318,
    "h": 106
  },
  "luminance": 0.30606
}

Semantic roles & 50–950 ramp

primary
#9C995B
secondary
#9A9BB9
accent
#69C365
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9C995B

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

Preview Lab → · Contrast checker → · Palette generator →

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