#9C8F35#9C8F35

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

Color values

HEX#9C8F35
RGBrgb(156, 143, 53)
HSLhsl(52, 49%, 41%)
HSVhsv(52, 66%, 61%)
CMYKcmyk(0%, 8.3%, 66%, 38.8%)
CIE-LABlab(58.95, -6.25, 47.97)
CIE-LCHlch(58.95, 48.38, 97.42°)
OKLaboklab(64.4% -0.0212 0.1087)
OKLCHoklch(64.4% 0.111 101.1)
XYZxyz(24.1764, 26.9709, 7.2999)
Luminance0.2697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8F35 #35429C
analogous
#9C5B35 #9C8F35 #759C35
triadic
#9C8F35 #359C8F #8F359C
tetradic
#9C8F35 #359C5B #35429C #9C3575
square
#9C8F35 #359C5B #35429C #9C3575
split-complementary
#9C8F35 #35759C #5B359C
monochromatic
#413B16 #6E6525 #9C8F35 #C2B34C #D2C77A

Accessibility & contrast

On white

3.28
#9C8F35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8F35#FFFFFF#000000##000000
##9C8F351.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c8f35;
/* rgb */ color: rgb(156, 143, 53);
/* oklch */ color: oklch(64.4% 0.111 101.1);
Tailwind
colors: {
  custom: {
    50: '#bcaf71',
    500: '#9c8f35',
    950: '#000000',
  },
}
SCSS
$custom: #9c8f35;
$custom-light: #bcaf71;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8f35",
  "rgb": {
    "r": 156,
    "g": 143,
    "b": 53
  },
  "hsl": {
    "h": 52.427,
    "s": 49.282,
    "l": 40.98
  },
  "oklch": {
    "l": 0.64396,
    "c": 0.11075,
    "h": 101.1
  },
  "luminance": 0.2697
}

Semantic roles & 50–950 ramp

primary
#9C8F35
secondary
#727BBA
accent
#60D94F
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8F35

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

Preview Lab → · Contrast checker → · Palette generator →

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