#9C8A50#9C8A50

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

Color values

HEX#9C8A50
RGBrgb(156, 138, 80)
HSLhsl(46, 32%, 46%)
HSVhsv(46, 49%, 61%)
CMYKcmyk(0%, 11.5%, 48.7%, 38.8%)
CIE-LABlab(57.87, -1.30, 33.39)
CIE-LCHlch(57.87, 33.41, 92.22°)
OKLaboklab(63.64% -0.0038 0.0803)
OKLCHoklch(63.64% 0.08 92.7)
XYZxyz(24.2475, 25.8251, 11.2954)
Luminance0.2582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A50 #50629C
analogous
#9C6450 #9C8A50 #889C50
triadic
#9C8A50 #509C8A #8A509C
tetradic
#9C8A50 #509C64 #50629C #9C5088
square
#9C8A50 #509C64 #50629C #9C5088
split-complementary
#9C8A50 #50889C #64509C
monochromatic
#4B4227 #74663B #9C8A50 #B7A772 #CCC09B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8A50#FFFFFF#000000##000000
##9C8A501.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)
#95884B
Deuteranopia (green-blind)
#9A8D52
Tritanopia (blue-blind)
#A6827C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8a50;
/* rgb */ color: rgb(156, 138, 80);
/* oklch */ color: oklch(63.6% 0.080 92.7);
Tailwind
colors: {
  custom: {
    50: '#bbac82',
    500: '#9c8a50',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a50;
$custom-light: #bbac82;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a50",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 80
  },
  "hsl": {
    "h": 45.789,
    "s": 32.203,
    "l": 46.275
  },
  "oklch": {
    "l": 0.63642,
    "c": 0.08036,
    "h": 92.7
  },
  "luminance": 0.25824
}

Semantic roles & 50–950 ramp

primary
#9C8A50
secondary
#8F99B8
accent
#78C85F
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9C8A50

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

Preview Lab → · Contrast checker → · Palette generator →

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