#9C9237#9C9237

#9C9237 is a light, moderate yellow. Relative luminance 0.279; OKLCH L 65.1% C 0.112 H 103.0°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9C9237
RGBrgb(156, 146, 55)
HSLhsl(54, 48%, 41%)
HSVhsv(54, 65%, 61%)
CMYKcmyk(0%, 6.4%, 64.7%, 38.8%)
CIE-LABlab(59.80, -7.74, 47.99)
CIE-LCHlch(59.80, 48.61, 99.16°)
OKLaboklab(65.08% -0.0253 0.109)
OKLCHoklch(65.08% 0.112 103)
XYZxyz(24.6797, 27.9025, 7.6994)
Luminance0.2790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9237 #37419C
analogous
#9C6037 #9C9237 #749C37
triadic
#9C9237 #379C92 #92379C
tetradic
#9C9237 #379C60 #37419C #9C3774
square
#9C9237 #379C60 #37419C #9C3774
split-complementary
#9C9237 #37749C #60379C
monochromatic
#423D17 #6F6827 #9C9237 #C1B64F #D1C97C

Accessibility & contrast

On white

3.19
#9C9237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#9C9237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9237
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9237#FFFFFF#000000##000000
##9C92371.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D2C
Deuteranopia (green-blind)
#A2923C
Tritanopia (blue-blind)
#A7887F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9c9237;
/* rgb */ color: rgb(156, 146, 55);
/* oklch */ color: oklch(65.1% 0.112 103.0);
Tailwind
colors: {
  custom: {
    50: '#bcb172',
    500: '#9c9237',
    950: '#000000',
  },
}
SCSS
$custom: #9c9237;
$custom-light: #bcb172;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9237",
  "rgb": {
    "r": 156,
    "g": 146,
    "b": 55
  },
  "hsl": {
    "h": 54.059,
    "s": 47.867,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6508,
    "c": 0.11193,
    "h": 103
  },
  "luminance": 0.27902
}

Semantic roles & 50–950 ramp

primary
#9C9237
secondary
#757CBA
accent
#5ED750
background
#FBFAF7
surface
#F7F5ED
border
#D0CFC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C9237

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

Preview Lab → · Contrast checker → · Palette generator →

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