#9C8D50#9C8D50

#9C8D50 is a light, moderate yellow. Relative luminance 0.267; OKLCH L 64.3% C 0.083 H 95.9°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9C8D50
RGBrgb(156, 141, 80)
HSLhsl(48, 32%, 46%)
HSVhsv(48, 49%, 61%)
CMYKcmyk(0%, 9.6%, 48.7%, 38.8%)
CIE-LABlab(58.69, -2.95, 34.41)
CIE-LCHlch(58.69, 34.53, 94.90°)
OKLaboklab(64.29% -0.0086 0.0825)
OKLCHoklch(64.29% 0.083 95.9)
XYZxyz(24.6839, 26.6978, 11.4408)
Luminance0.2670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D50 #505F9C
analogous
#9C6750 #9C8D50 #859C50
triadic
#9C8D50 #509C8D #8D509C
tetradic
#9C8D50 #509C67 #505F9C #9C5085
square
#9C8D50 #509C67 #505F9C #9C5085
split-complementary
#9C8D50 #50859C #67509C
monochromatic
#4B4427 #74683B #9C8D50 #B7A972 #CCC29B

Accessibility & contrast

On white

3.31
#9C8D50 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#9C8D50 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D50
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D50#FFFFFF#000000##000000
##9C8D501.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A4B
Deuteranopia (green-blind)
#9C8F52
Tritanopia (blue-blind)
#A6857E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8d50;
/* rgb */ color: rgb(156, 141, 80);
/* oklch */ color: oklch(64.3% 0.083 95.9);
Tailwind
colors: {
  custom: {
    50: '#bbae82',
    500: '#9c8d50',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d50;
$custom-light: #bbae82;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d50",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 80
  },
  "hsl": {
    "h": 48.158,
    "s": 32.203,
    "l": 46.275
  },
  "oklch": {
    "l": 0.64292,
    "c": 0.08298,
    "h": 95.9
  },
  "luminance": 0.26697
}

Semantic roles & 50–950 ramp

primary
#9C8D50
secondary
#8F97B8
accent
#74C85F
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9C8D50

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

Preview Lab → · Contrast checker → · Palette generator →

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