#9C8127#9C8127

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

Color values

HEX#9C8127
RGBrgb(156, 129, 39)
HSLhsl(46, 60%, 38%)
HSVhsv(46, 75%, 61%)
CMYKcmyk(0%, 17.3%, 75%, 38.8%)
CIE-LABlab(54.99, 0.69, 49.89)
CIE-LCHlch(54.99, 49.89, 89.21°)
OKLaboklab(61.23% -0.0031 0.1102)
OKLCHoklch(61.23% 0.11 91.6)
XYZxyz(21.9280, 22.9162, 5.1874)
Luminance0.2291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8127 #27429C
analogous
#9C4627 #9C8127 #7C9C27
triadic
#9C8127 #279C81 #81279C
tetradic
#9C8127 #279C46 #27429C #9C277C
square
#9C8127 #279C46 #27429C #9C277C
split-complementary
#9C8127 #277C9C #46279C
monochromatic
#3A300F #6B591B #9C8127 #CCA934 #D8BE65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8127#FFFFFF#000000##000000
##9C81271.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)
#907F19
Deuteranopia (green-blind)
#96872C
Tritanopia (blue-blind)
#A9766F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9c8127;
/* rgb */ color: rgb(156, 129, 39);
/* oklch */ color: oklch(61.2% 0.110 91.6);
Tailwind
colors: {
  custom: {
    50: '#bda568',
    500: '#9c8127',
    950: '#000000',
  },
}
SCSS
$custom: #9c8127;
$custom-light: #bda568;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8127",
  "rgb": {
    "r": 156,
    "g": 129,
    "b": 39
  },
  "hsl": {
    "h": 46.154,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61227,
    "c": 0.11023,
    "h": 91.6
  },
  "luminance": 0.22915
}

Semantic roles & 50–950 ramp

primary
#9C8127
secondary
#6176BE
accent
#69E345
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C8127

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

Preview Lab → · Contrast checker → · Palette generator →

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