#9C8122#9C8122

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

Color values

HEX#9C8122
RGBrgb(156, 129, 34)
HSLhsl(47, 64%, 37%)
HSVhsv(47, 78%, 61%)
CMYKcmyk(0%, 17.3%, 78.2%, 38.8%)
CIE-LABlab(54.95, 0.46, 51.78)
CIE-LCHlch(54.95, 51.79, 89.49°)
OKLaboklab(61.19% -0.0043 0.1132)
OKLCHoklch(61.19% 0.113 92.2)
XYZxyz(21.8505, 22.8853, 4.7795)
Luminance0.2288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8122 #223D9C
analogous
#9C4422 #9C8122 #7A9C22
triadic
#9C8122 #229C81 #81229C
tetradic
#9C8122 #229C44 #223D9C #9C227A
square
#9C8122 #229C44 #223D9C #9C227A
split-complementary
#9C8122 #227A9C #44229C
monochromatic
#382E0C #6A5717 #9C8122 #CEAB2D #DCC05D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8122#FFFFFF#000000##000000
##9C81221.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)
#907F0F
Deuteranopia (green-blind)
#978728
Tritanopia (blue-blind)
#A9766F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9c8122;
/* rgb */ color: rgb(156, 129, 34);
/* oklch */ color: oklch(61.2% 0.113 92.2);
Tailwind
colors: {
  custom: {
    50: '#bda565',
    500: '#9c8122',
    950: '#000000',
  },
}
SCSS
$custom: #9c8122;
$custom-light: #bda565;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8122",
  "rgb": {
    "r": 156,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 46.721,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61191,
    "c": 0.11326,
    "h": 92.2
  },
  "luminance": 0.22884
}

Semantic roles & 50–950 ramp

primary
#9C8122
secondary
#5A70C0
accent
#65E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C8122

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

Preview Lab → · Contrast checker → · Palette generator →

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