#9C8A51#9C8A51

#9C8A51 is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.7% C 0.079 H 92.4°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#9C8A51
RGBrgb(156, 138, 81)
HSLhsl(46, 32%, 46%)
HSVhsv(46, 48%, 61%)
CMYKcmyk(0%, 11.5%, 48.1%, 38.8%)
CIE-LABlab(57.88, -1.20, 32.87)
CIE-LCHlch(57.88, 32.89, 92.08°)
OKLaboklab(63.66% -0.0034 0.0792)
OKLCHoklch(63.66% 0.079 92.4)
XYZxyz(24.2847, 25.8400, 11.4914)
Luminance0.2584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A51 #51639C
analogous
#9C6551 #9C8A51 #899C51
triadic
#9C8A51 #519C8A #8A519C
tetradic
#9C8A51 #519C65 #51639C #9C5189
square
#9C8A51 #519C65 #51639C #9C5189
split-complementary
#9C8A51 #51899C #65519C
monochromatic
#4B4327 #74663C #9C8A51 #B7A774 #CCC09C

Accessibility & contrast

On white

3.40
#9C8A51 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#9C8A51 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8A51
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8A51#FFFFFF#000000##000000
##9C8A511.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95884C
Deuteranopia (green-blind)
#9A8D53
Tritanopia (blue-blind)
#A6827C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8a51;
/* rgb */ color: rgb(156, 138, 81);
/* oklch */ color: oklch(63.7% 0.079 92.4);
Tailwind
colors: {
  custom: {
    50: '#bbac83',
    500: '#9c8a51',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a51;
$custom-light: #bbac83;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a51",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 81
  },
  "hsl": {
    "h": 45.6,
    "s": 31.646,
    "l": 46.471
  },
  "oklch": {
    "l": 0.63658,
    "c": 0.07926,
    "h": 92.4
  },
  "luminance": 0.25839
}

Semantic roles & 50–950 ramp

primary
#9C8A51
secondary
#909AB8
accent
#79C860
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9C8A51

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

Preview Lab → · Contrast checker → · Palette generator →

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