#9C8E32#9C8E32

#9C8E32 is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.1% C 0.112 H 100.6°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9C8E32
RGBrgb(156, 142, 50)
HSLhsl(52, 51%, 40%)
HSVhsv(52, 68%, 61%)
CMYKcmyk(0%, 9%, 67.9%, 38.8%)
CIE-LABlab(58.64, -5.89, 48.97)
CIE-LCHlch(58.64, 49.32, 96.86°)
OKLaboklab(64.15% -0.0206 0.1103)
OKLCHoklch(64.15% 0.112 100.6)
XYZxyz(23.9601, 26.6453, 6.8980)
Luminance0.2664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8E32 #32409C
analogous
#9C5932 #9C8E32 #759C32
triadic
#9C8E32 #329C8E #8E329C
tetradic
#9C8E32 #329C59 #32409C #9C3275
square
#9C8E32 #329C59 #32409C #9C3275
split-complementary
#9C8E32 #32759C #59329C
monochromatic
#3F3A14 #6E6423 #9C8E32 #C4B447 #D3C775

Accessibility & contrast

On white

3.32
#9C8E32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#9C8E32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8E32
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8E32#FFFFFF#000000##000000
##9C8E321.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A26
Deuteranopia (green-blind)
#9F8F37
Tritanopia (blue-blind)
#A8847B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8e32;
/* rgb */ color: rgb(156, 142, 50);
/* oklch */ color: oklch(64.1% 0.112 100.6);
Tailwind
colors: {
  custom: {
    50: '#bcae6f',
    500: '#9c8e32',
    950: '#000000',
  },
}
SCSS
$custom: #9c8e32;
$custom-light: #bcae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8e32",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 50
  },
  "hsl": {
    "h": 52.075,
    "s": 51.456,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64148,
    "c": 0.1122,
    "h": 100.6
  },
  "luminance": 0.26644
}

Semantic roles & 50–950 ramp

primary
#9C8E32
secondary
#6F79BB
accent
#60DB4D
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8E32

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

Preview Lab → · Contrast checker → · Palette generator →

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