#9C8121#9C8121

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

Color values

HEX#9C8121
RGBrgb(156, 129, 33)
HSLhsl(47, 65%, 37%)
HSVhsv(47, 79%, 61%)
CMYKcmyk(0%, 17.3%, 78.8%, 38.8%)
CIE-LABlab(54.95, 0.42, 52.14)
CIE-LCHlch(54.95, 52.15, 89.54°)
OKLaboklab(61.19% -0.0045 0.1137)
OKLCHoklch(61.19% 0.114 92.3)
XYZxyz(21.8363, 22.8796, 4.7046)
Luminance0.2288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8121 #213C9C
analogous
#9C4321 #9C8121 #7A9C21
triadic
#9C8121 #219C81 #81219C
tetradic
#9C8121 #219C43 #213C9C #9C217A
square
#9C8121 #219C43 #213C9C #9C217A
split-complementary
#9C8121 #217A9C #43219C
monochromatic
#372D0C #695716 #9C8121 #CFAB2C #DCC05B

Accessibility & contrast

On white

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

On black

5.58
#9C8121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8121
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8121#FFFFFF#000000##000000
##9C81211.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c8121;
/* rgb */ color: rgb(156, 129, 33);
/* oklch */ color: oklch(61.2% 0.114 92.3);
Tailwind
colors: {
  custom: {
    50: '#bda564',
    500: '#9c8121',
    950: '#000000',
  },
}
SCSS
$custom: #9c8121;
$custom-light: #bda564;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8121",
  "rgb": {
    "r": 156,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 46.829,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61185,
    "c": 0.11382,
    "h": 92.3
  },
  "luminance": 0.22878
}

Semantic roles & 50–950 ramp

primary
#9C8121
secondary
#586FC1
accent
#65E840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C8121

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

Preview Lab → · Contrast checker → · Palette generator →

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