#9C8F36#9C8F36

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

Color values

HEX#9C8F36
RGBrgb(156, 143, 54)
HSLhsl(52, 49%, 41%)
HSVhsv(52, 65%, 61%)
CMYKcmyk(0%, 8.3%, 65.4%, 38.8%)
CIE-LABlab(58.96, -6.18, 47.53)
CIE-LCHlch(58.96, 47.93, 97.41°)
OKLaboklab(64.41% -0.0209 0.1079)
OKLCHoklch(64.41% 0.11 101)
XYZxyz(24.1996, 26.9802, 7.4223)
Luminance0.2698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8F36 #36439C
analogous
#9C5C36 #9C8F36 #769C36
triadic
#9C8F36 #369C8F #8F369C
tetradic
#9C8F36 #369C5C #36439C #9C3676
square
#9C8F36 #369C5C #36439C #9C3676
split-complementary
#9C8F36 #36769C #5C369C
monochromatic
#413C17 #6F6526 #9C8F36 #C2B34E #D1C67B

Accessibility & contrast

On white

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

On black

6.40
#9C8F36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8F36
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8F36#FFFFFF#000000##000000
##9C8F361.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c8f36;
/* rgb */ color: rgb(156, 143, 54);
/* oklch */ color: oklch(64.4% 0.110 101.0);
Tailwind
colors: {
  custom: {
    50: '#bcaf71',
    500: '#9c8f36',
    950: '#000000',
  },
}
SCSS
$custom: #9c8f36;
$custom-light: #bcaf71;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8f36",
  "rgb": {
    "r": 156,
    "g": 143,
    "b": 54
  },
  "hsl": {
    "h": 52.353,
    "s": 48.571,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64406,
    "c": 0.10994,
    "h": 101
  },
  "luminance": 0.26979
}

Semantic roles & 50–950 ramp

primary
#9C8F36
secondary
#747DBA
accent
#61D850
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8F36

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

Preview Lab → · Contrast checker → · Palette generator →

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