#9C8B4E#9C8B4E

#9C8B4E is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.8% C 0.083 H 94.2°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9C8B4E
RGBrgb(156, 139, 78)
HSLhsl(47, 33%, 46%)
HSVhsv(47, 50%, 61%)
CMYKcmyk(0%, 10.9%, 50%, 38.8%)
CIE-LABlab(58.12, -2.05, 34.75)
CIE-LCHlch(58.12, 34.81, 93.37°)
OKLaboklab(63.83% -0.0062 0.0832)
OKLCHoklch(63.83% 0.083 94.2)
XYZxyz(24.3188, 26.0842, 10.9600)
Luminance0.2608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8B4E #4E5F9C
analogous
#9C644E #9C8B4E #869C4E
triadic
#9C8B4E #4E9C8B #8B4E9C
tetradic
#9C8B4E #4E9C64 #4E5F9C #9C4E86
square
#9C8B4E #4E9C64 #4E5F9C #9C4E86
split-complementary
#9C8B4E #4E869C #644E9C
monochromatic
#4A4225 #73673A #9C8B4E #B7A870 #CCC199

Accessibility & contrast

On white

3.38
#9C8B4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#9C8B4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8B4E
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8B4E#FFFFFF#000000##000000
##9C8B4E1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968949
Deuteranopia (green-blind)
#9B8E50
Tritanopia (blue-blind)
#A7837C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9c8b4e;
/* rgb */ color: rgb(156, 139, 78);
/* oklch */ color: oklch(63.8% 0.083 94.2);
Tailwind
colors: {
  custom: {
    50: '#bbac81',
    500: '#9c8b4e',
    950: '#000000',
  },
}
SCSS
$custom: #9c8b4e;
$custom-light: #bbac81;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8b4e",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 78
  },
  "hsl": {
    "h": 46.923,
    "s": 33.333,
    "l": 45.882
  },
  "oklch": {
    "l": 0.63827,
    "c": 0.08338,
    "h": 94.2
  },
  "luminance": 0.26083
}

Semantic roles & 50–950 ramp

primary
#9C8B4E
secondary
#8D97B8
accent
#76C95E
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9C8B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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