#9C8F37#9C8F37

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

Color values

HEX#9C8F37
RGBrgb(156, 143, 55)
HSLhsl(52, 48%, 41%)
HSVhsv(52, 65%, 61%)
CMYKcmyk(0%, 8.3%, 64.7%, 38.8%)
CIE-LABlab(58.96, -6.12, 47.09)
CIE-LCHlch(58.96, 47.49, 97.40°)
OKLaboklab(64.42% -0.0206 0.1072)
OKLCHoklch(64.42% 0.109 100.9)
XYZxyz(24.2233, 26.9897, 7.5473)
Luminance0.2699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8F37 #37449C
analogous
#9C5D37 #9C8F37 #779C37
triadic
#9C8F37 #379C8F #8F379C
tetradic
#9C8F37 #379C5D #37449C #9C3777
square
#9C8F37 #379C5D #37449C #9C3777
split-complementary
#9C8F37 #37779C #5D379C
monochromatic
#423C17 #6F6627 #9C8F37 #C1B24F #D1C67C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8F37#FFFFFF#000000##000000
##9C8F371.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)
#9C8B2C
Deuteranopia (green-blind)
#A0903C
Tritanopia (blue-blind)
#A8857C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c8f37;
/* rgb */ color: rgb(156, 143, 55);
/* oklch */ color: oklch(64.4% 0.109 100.9);
Tailwind
colors: {
  custom: {
    50: '#bcaf72',
    500: '#9c8f37',
    950: '#000000',
  },
}
SCSS
$custom: #9c8f37;
$custom-light: #bcaf72;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8f37",
  "rgb": {
    "r": 156,
    "g": 143,
    "b": 55
  },
  "hsl": {
    "h": 52.277,
    "s": 47.867,
    "l": 41.373
  },
  "oklch": {
    "l": 0.64416,
    "c": 0.10912,
    "h": 100.9
  },
  "luminance": 0.26989
}

Semantic roles & 50–950 ramp

primary
#9C8F37
secondary
#757EBA
accent
#62D750
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8F37

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

Preview Lab → · Contrast checker → · Palette generator →

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