#9C8124#9C8124

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

Color values

HEX#9C8124
RGBrgb(156, 129, 36)
HSLhsl(47, 63%, 38%)
HSVhsv(47, 77%, 61%)
CMYKcmyk(0%, 17.3%, 76.9%, 38.8%)
CIE-LABlab(54.97, 0.55, 51.04)
CIE-LCHlch(54.97, 51.05, 89.38°)
OKLaboklab(61.21% -0.0038 0.112)
OKLCHoklch(61.21% 0.112 92)
XYZxyz(21.8802, 22.8971, 4.9359)
Luminance0.2290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8124 #243F9C
analogous
#9C4524 #9C8124 #7B9C24
triadic
#9C8124 #249C81 #81249C
tetradic
#9C8124 #249C45 #243F9C #9C247B
square
#9C8124 #249C45 #243F9C #9C247B
split-complementary
#9C8124 #247B9C #45249C
monochromatic
#392F0D #6A5819 #9C8124 #CEAA2F #DABF60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8124#FFFFFF#000000##000000
##9C81241.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F13
Deuteranopia (green-blind)
#968729
Tritanopia (blue-blind)
#A9766F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9c8124;
/* rgb */ color: rgb(156, 129, 36);
/* oklch */ color: oklch(61.2% 0.112 92.0);
Tailwind
colors: {
  custom: {
    50: '#bda566',
    500: '#9c8124',
    950: '#000000',
  },
}
SCSS
$custom: #9c8124;
$custom-light: #bda566;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8124",
  "rgb": {
    "r": 156,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 46.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61205,
    "c": 0.11209,
    "h": 92
  },
  "luminance": 0.22896
}

Semantic roles & 50–950 ramp

primary
#9C8124
secondary
#5C73BF
accent
#67E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C8124

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

Preview Lab → · Contrast checker → · Palette generator →

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