#9C8F34#9C8F34

#9C8F34 is a light, moderate yellow. Relative luminance 0.270; OKLCH L 64.4% C 0.112 H 101.1°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9C8F34
RGBrgb(156, 143, 52)
HSLhsl(53, 50%, 41%)
HSVhsv(53, 67%, 61%)
CMYKcmyk(0%, 8.3%, 66.7%, 38.8%)
CIE-LABlab(58.94, -6.31, 48.40)
CIE-LCHlch(58.94, 48.81, 97.43°)
OKLaboklab(64.39% -0.0215 0.1094)
OKLCHoklch(64.39% 0.112 101.1)
XYZxyz(24.1536, 26.9618, 7.1800)
Luminance0.2696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8F34 #34419C
analogous
#9C5B34 #9C8F34 #759C34
triadic
#9C8F34 #349C8F #8F349C
tetradic
#9C8F34 #349C5B #34419C #9C3475
square
#9C8F34 #349C5B #34419C #9C3475
split-complementary
#9C8F34 #34759C #5B349C
monochromatic
#403B15 #6E6525 #9C8F34 #C3B44A #D2C778

Accessibility & contrast

On white

3.29
#9C8F34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#9C8F34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8F34
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8F34#FFFFFF#000000##000000
##9C8F341.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B28
Deuteranopia (green-blind)
#A09039
Tritanopia (blue-blind)
#A8857C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c8f34;
/* rgb */ color: rgb(156, 143, 52);
/* oklch */ color: oklch(64.4% 0.112 101.1);
Tailwind
colors: {
  custom: {
    50: '#bcaf70',
    500: '#9c8f34',
    950: '#000000',
  },
}
SCSS
$custom: #9c8f34;
$custom-light: #bcaf70;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8f34",
  "rgb": {
    "r": 156,
    "g": 143,
    "b": 52
  },
  "hsl": {
    "h": 52.5,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64387,
    "c": 0.11154,
    "h": 101.1
  },
  "luminance": 0.26961
}

Semantic roles & 50–950 ramp

primary
#9C8F34
secondary
#717ABB
accent
#60DA4E
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8F34

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

Preview Lab → · Contrast checker → · Palette generator →

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