#9C995F#9C995F

#9C995F is a light, moderate yellow. Relative luminance 0.307; OKLCH L 67.2% C 0.078 H 105.8°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9C995F
RGBrgb(156, 153, 95)
HSLhsl(57, 24%, 49%)
HSVhsv(57, 39%, 61%)
CMYKcmyk(0%, 1.9%, 39.1%, 38.8%)
CIE-LABlab(62.23, -7.85, 30.88)
CIE-LCHlch(62.23, 31.86, 104.27°)
OKLaboklab(67.17% -0.0213 0.0755)
OKLCHoklch(67.17% 0.078 105.8)
XYZxyz(27.1675, 30.6772, 15.3144)
Luminance0.3068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C995F #5F629C
analogous
#9C7B5F #9C995F #819C5F
triadic
#9C995F #5F9C99 #995F9C
tetradic
#9C995F #5F9C7B #5F629C #9C5F81
square
#9C995F #5F9C7B #5F629C #9C5F81
split-complementary
#9C995F #5F819C #7B5F9C
monochromatic
#504E31 #767448 #9C995F #B4B284 #CBCAAA

Accessibility & contrast

On white

2.94
#9C995F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#9C995F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C995F
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C995F#FFFFFF#000000##000000
##9C995F1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2955B
Deuteranopia (green-blind)
#A49861
Tritanopia (blue-blind)
#A4928B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9c995f;
/* rgb */ color: rgb(156, 153, 95);
/* oklch */ color: oklch(67.2% 0.078 105.8);
Tailwind
colors: {
  custom: {
    50: '#bab68d',
    500: '#9c995f',
    950: '#000000',
  },
}
SCSS
$custom: #9c995f;
$custom-light: #bab68d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c995f",
  "rgb": {
    "r": 156,
    "g": 153,
    "b": 95
  },
  "hsl": {
    "h": 57.049,
    "s": 24.303,
    "l": 49.216
  },
  "oklch": {
    "l": 0.67169,
    "c": 0.07845,
    "h": 105.8
  },
  "luminance": 0.30677
}

Semantic roles & 50–950 ramp

primary
#9C995F
secondary
#9D9FBA
accent
#6BC167
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9C995F

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

Preview Lab → · Contrast checker → · Palette generator →

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