#9C8120#9C8120

#9C8120 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.2% C 0.114 H 92.4°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9C8120
RGBrgb(156, 129, 32)
HSLhsl(47, 66%, 37%)
HSVhsv(47, 79%, 61%)
CMYKcmyk(0%, 17.3%, 79.5%, 38.8%)
CIE-LABlab(54.94, 0.38, 52.50)
CIE-LCHlch(54.94, 52.50, 89.58°)
OKLaboklab(61.18% -0.0047 0.1143)
OKLCHoklch(61.18% 0.114 92.4)
XYZxyz(21.8225, 22.8741, 4.6319)
Luminance0.2287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8120 #203B9C
analogous
#9C4320 #9C8120 #799C20
triadic
#9C8120 #209C81 #81209C
tetradic
#9C8120 #209C43 #203B9C #9C2079
square
#9C8120 #209C43 #203B9C #9C2079
split-complementary
#9C8120 #20799C #43209C
monochromatic
#362D0B #695716 #9C8120 #CFAB2A #DDC059

Accessibility & contrast

On white

3.77
#9C8120 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#9C8120 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8120
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8120#FFFFFF#000000##000000
##9C81201.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0B
Deuteranopia (green-blind)
#978726
Tritanopia (blue-blind)
#A9766F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9c8120;
/* rgb */ color: rgb(156, 129, 32);
/* oklch */ color: oklch(61.2% 0.114 92.4);
Tailwind
colors: {
  custom: {
    50: '#bda564',
    500: '#9c8120',
    950: '#000000',
  },
}
SCSS
$custom: #9c8120;
$custom-light: #bda564;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8120",
  "rgb": {
    "r": 156,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 46.935,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61178,
    "c": 0.11437,
    "h": 92.4
  },
  "luminance": 0.22873
}

Semantic roles & 50–950 ramp

primary
#9C8120
secondary
#576EC1
accent
#64E93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C8120

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

Preview Lab → · Contrast checker → · Palette generator →

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