#9C8A4F#9C8A4F

#9C8A4F is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.6% C 0.081 H 92.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9C8A4F
RGBrgb(156, 138, 79)
HSLhsl(46, 33%, 46%)
HSVhsv(46, 49%, 61%)
CMYKcmyk(0%, 11.5%, 49.4%, 38.8%)
CIE-LABlab(57.86, -1.40, 33.90)
CIE-LCHlch(57.86, 33.93, 92.36°)
OKLaboklab(63.63% -0.0042 0.0813)
OKLCHoklch(63.63% 0.081 92.9)
XYZxyz(24.2108, 25.8104, 11.1022)
Luminance0.2581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A4F #4F619C
analogous
#9C634F #9C8A4F #879C4F
triadic
#9C8A4F #4F9C8A #8A4F9C
tetradic
#9C8A4F #4F9C63 #4F619C #9C4F87
square
#9C8A4F #4F9C63 #4F619C #9C4F87
split-complementary
#9C8A4F #4F879C #634F9C
monochromatic
#4B4226 #73663A #9C8A4F #B7A771 #CCC09A

Accessibility & contrast

On white

3.41
#9C8A4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#9C8A4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8A4F
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8A4F#FFFFFF#000000##000000
##9C8A4F1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95884A
Deuteranopia (green-blind)
#9A8D51
Tritanopia (blue-blind)
#A7827C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8a4f;
/* rgb */ color: rgb(156, 138, 79);
/* oklch */ color: oklch(63.6% 0.081 92.9);
Tailwind
colors: {
  custom: {
    50: '#bbac81',
    500: '#9c8a4f',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a4f;
$custom-light: #bbac81;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a4f",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 79
  },
  "hsl": {
    "h": 45.974,
    "s": 32.766,
    "l": 46.078
  },
  "oklch": {
    "l": 0.63626,
    "c": 0.08145,
    "h": 92.9
  },
  "luminance": 0.25809
}

Semantic roles & 50–950 ramp

primary
#9C8A4F
secondary
#8E98B8
accent
#78C95F
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9C8A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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