#9C8D33#9C8D33

#9C8D33 is a light, moderate yellow. Relative luminance 0.264; OKLCH L 63.9% C 0.111 H 99.8°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#9C8D33
RGBrgb(156, 141, 51)
HSLhsl(51, 51%, 41%)
HSVhsv(51, 67%, 61%)
CMYKcmyk(0%, 9.6%, 67.3%, 38.8%)
CIE-LABlab(58.38, -5.28, 48.25)
CIE-LCHlch(58.38, 48.54, 96.25°)
OKLaboklab(63.94% -0.0187 0.109)
OKLCHoklch(63.94% 0.111 99.8)
XYZxyz(23.8338, 26.3578, 6.9635)
Luminance0.2636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D33 #33429C
analogous
#9C5933 #9C8D33 #769C33
triadic
#9C8D33 #339C8D #8D339C
tetradic
#9C8D33 #339C59 #33429C #9C3376
square
#9C8D33 #339C59 #33429C #9C3376
split-complementary
#9C8D33 #33769C #59339C
monochromatic
#403A15 #6E6324 #9C8D33 #C3B249 #D3C577

Accessibility & contrast

On white

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

On black

6.27
#9C8D33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D33
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D33#FFFFFF#000000##000000
##9C8D331.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8927
Deuteranopia (green-blind)
#9E8F38
Tritanopia (blue-blind)
#A8837A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9c8d33;
/* rgb */ color: rgb(156, 141, 51);
/* oklch */ color: oklch(63.9% 0.111 99.8);
Tailwind
colors: {
  custom: {
    50: '#bcae6f',
    500: '#9c8d33',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d33;
$custom-light: #bcae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d33",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 51
  },
  "hsl": {
    "h": 51.429,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.63937,
    "c": 0.11056,
    "h": 99.8
  },
  "luminance": 0.26357
}

Semantic roles & 50–950 ramp

primary
#9C8D33
secondary
#707BBB
accent
#62DA4E
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8D33

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

Preview Lab → · Contrast checker → · Palette generator →

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