#9C9331#9C9331

#9C9331 is a light, moderate yellow. Relative luminance 0.282; OKLCH L 65.2% C 0.118 H 104.0°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9C9331
RGBrgb(156, 147, 49)
HSLhsl(55, 52%, 40%)
HSVhsv(55, 69%, 61%)
CMYKcmyk(0%, 5.8%, 68.6%, 38.8%)
CIE-LABlab(60.03, -8.65, 50.82)
CIE-LCHlch(60.03, 51.55, 99.66°)
OKLaboklab(65.25% -0.0285 0.114)
OKLCHoklch(65.25% 0.118 104)
XYZxyz(24.6994, 28.1581, 7.0391)
Luminance0.2816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9331 #313A9C
analogous
#9C5D31 #9C9331 #709C31
triadic
#9C9331 #319C93 #93319C
tetradic
#9C9331 #319C5D #313A9C #9C3170
square
#9C9331 #319C5D #313A9C #9C3170
split-complementary
#9C9331 #31709C #5D319C
monochromatic
#3F3B14 #6D6722 #9C9331 #C5BA45 #D3CB74

Accessibility & contrast

On white

3.17
#9C9331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#9C9331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9331
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9331#FFFFFF#000000##000000
##9C93311.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E23
Deuteranopia (green-blind)
#A39337
Tritanopia (blue-blind)
#A8897F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9c9331;
/* rgb */ color: rgb(156, 147, 49);
/* oklch */ color: oklch(65.2% 0.118 104.0);
Tailwind
colors: {
  custom: {
    50: '#bcb26f',
    500: '#9c9331',
    950: '#000000',
  },
}
SCSS
$custom: #9c9331;
$custom-light: #bcb26f;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9331",
  "rgb": {
    "r": 156,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 54.953,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65247,
    "c": 0.11755,
    "h": 104
  },
  "luminance": 0.28157
}

Semantic roles & 50–950 ramp

primary
#9C9331
secondary
#6D74BB
accent
#58DC4C
background
#FBFAF6
surface
#F7F5EC
border
#D0CFC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C9331

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

Preview Lab → · Contrast checker → · Palette generator →

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