#9C8D39#9C8D39

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

Color values

HEX#9C8D39
RGBrgb(156, 141, 57)
HSLhsl(51, 46%, 42%)
HSVhsv(51, 63%, 61%)
CMYKcmyk(0%, 9.6%, 63.5%, 38.8%)
CIE-LABlab(58.43, -4.89, 45.60)
CIE-LCHlch(58.43, 45.86, 96.12°)
OKLaboklab(64% -0.0169 0.1043)
OKLCHoklch(64% 0.106 99.2)
XYZxyz(23.9747, 26.4141, 7.7057)
Luminance0.2641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D39 #39489C
analogous
#9C5C39 #9C8D39 #7A9C39
triadic
#9C8D39 #399C8D #8D399C
tetradic
#9C8D39 #399C5C #39489C #9C397A
square
#9C8D39 #399C5C #39489C #9C397A
split-complementary
#9C8D39 #397A9C #5C399C
monochromatic
#423C18 #6F6429 #9C8D39 #C0AF52 #D0C47F

Accessibility & contrast

On white

3.34
#9C8D39 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8D39#FFFFFF#000000##000000
##9C8D391.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c8d39;
/* rgb */ color: rgb(156, 141, 57);
/* oklch */ color: oklch(64.0% 0.106 99.2);
Tailwind
colors: {
  custom: {
    50: '#bcae73',
    500: '#9c8d39',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d39;
$custom-light: #bcae73;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d39",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 57
  },
  "hsl": {
    "h": 50.909,
    "s": 46.479,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63996,
    "c": 0.10564,
    "h": 99.2
  },
  "luminance": 0.26413
}

Semantic roles & 50–950 ramp

primary
#9C8D39
secondary
#7781BA
accent
#66D652
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8D39

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

Preview Lab → · Contrast checker → · Palette generator →

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