#9C8D35#9C8D35

#9C8D35 is a light, moderate yellow. Relative luminance 0.264; OKLCH L 64.0% C 0.109 H 99.6°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9C8D35
RGBrgb(156, 141, 53)
HSLhsl(51, 49%, 41%)
HSVhsv(51, 66%, 61%)
CMYKcmyk(0%, 9.6%, 66%, 38.8%)
CIE-LABlab(58.39, -5.16, 47.38)
CIE-LCHlch(58.39, 47.66, 96.21°)
OKLaboklab(63.96% -0.0181 0.1075)
OKLCHoklch(63.96% 0.109 99.6)
XYZxyz(23.8788, 26.3758, 7.2007)
Luminance0.2637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D35 #35449C
analogous
#9C5935 #9C8D35 #779C35
triadic
#9C8D35 #359C8D #8D359C
tetradic
#9C8D35 #359C59 #35449C #9C3577
square
#9C8D35 #359C59 #35449C #9C3577
split-complementary
#9C8D35 #35779C #59359C
monochromatic
#413A16 #6E6425 #9C8D35 #C2B14C #D2C57A

Accessibility & contrast

On white

3.35
#9C8D35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#9C8D35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D35
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D35#FFFFFF#000000##000000
##9C8D351.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A892A
Deuteranopia (green-blind)
#9E8F3A
Tritanopia (blue-blind)
#A8837B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9c8d35;
/* rgb */ color: rgb(156, 141, 53);
/* oklch */ color: oklch(64.0% 0.109 99.6);
Tailwind
colors: {
  custom: {
    50: '#bcae71',
    500: '#9c8d35',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d35;
$custom-light: #bcae71;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d35",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 53
  },
  "hsl": {
    "h": 51.262,
    "s": 49.282,
    "l": 40.98
  },
  "oklch": {
    "l": 0.63956,
    "c": 0.10897,
    "h": 99.6
  },
  "luminance": 0.26375
}

Semantic roles & 50–950 ramp

primary
#9C8D35
secondary
#727DBA
accent
#63D94F
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8D35

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

Preview Lab → · Contrast checker → · Palette generator →

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