#9C8129#9C8129

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

Color values

HEX#9C8129
RGBrgb(156, 129, 41)
HSLhsl(46, 58%, 39%)
HSVhsv(46, 74%, 61%)
CMYKcmyk(0%, 17.3%, 73.7%, 38.8%)
CIE-LABlab(55.00, 0.78, 49.09)
CIE-LCHlch(55.00, 49.09, 89.09°)
OKLaboklab(61.24% -0.0026 0.1089)
OKLCHoklch(61.24% 0.109 91.4)
XYZxyz(21.9620, 22.9298, 5.3665)
Luminance0.2293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8129 #29449C
analogous
#9C4729 #9C8129 #7D9C29
triadic
#9C8129 #299C81 #81299C
tetradic
#9C8129 #299C47 #29449C #9C297D
square
#9C8129 #299C47 #29449C #9C297D
split-complementary
#9C8129 #297D9C #47299C
monochromatic
#3B3110 #6C591C #9C8129 #CBA838 #D7BD68

Accessibility & contrast

On white

3.76
#9C8129 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#9C8129 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8129
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8129#FFFFFF#000000##000000
##9C81291.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F1C
Deuteranopia (green-blind)
#96872E
Tritanopia (blue-blind)
#A9766F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9c8129;
/* rgb */ color: rgb(156, 129, 41);
/* oklch */ color: oklch(61.2% 0.109 91.4);
Tailwind
colors: {
  custom: {
    50: '#bda569',
    500: '#9c8129',
    950: '#000000',
  },
}
SCSS
$custom: #9c8129;
$custom-light: #bda569;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8129",
  "rgb": {
    "r": 156,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 45.913,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.61242,
    "c": 0.10892,
    "h": 91.4
  },
  "luminance": 0.22929
}

Semantic roles & 50–950 ramp

primary
#9C8129
secondary
#6378BE
accent
#6BE246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C8129

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

Preview Lab → · Contrast checker → · Palette generator →

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