#9C8322#9C8322

#9C8322 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.6% C 0.115 H 93.7°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9C8322
RGBrgb(156, 131, 34)
HSLhsl(48, 64%, 37%)
HSVhsv(48, 78%, 61%)
CMYKcmyk(0%, 16%, 78.2%, 38.8%)
CIE-LABlab(55.50, -0.65, 52.29)
CIE-LCHlch(55.50, 52.29, 90.71°)
OKLaboklab(61.62% -0.0075 0.1143)
OKLCHoklch(61.62% 0.115 93.7)
XYZxyz(22.1166, 23.4173, 4.8681)
Luminance0.2342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8322 #223B9C
analogous
#9C4622 #9C8322 #789C22
triadic
#9C8322 #229C83 #83229C
tetradic
#9C8322 #229C46 #223B9C #9C2278
square
#9C8322 #229C46 #223B9C #9C2278
split-complementary
#9C8322 #22789C #46229C
monochromatic
#382F0C #6A5917 #9C8322 #CEAD2D #DCC25D

Accessibility & contrast

On white

3.70
#9C8322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#9C8322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8322
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8322#FFFFFF#000000##000000
##9C83221.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810F
Deuteranopia (green-blind)
#988828
Tritanopia (blue-blind)
#A97870
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9c8322;
/* rgb */ color: rgb(156, 131, 34);
/* oklch */ color: oklch(61.6% 0.115 93.7);
Tailwind
colors: {
  custom: {
    50: '#bda665',
    500: '#9c8322',
    950: '#000000',
  },
}
SCSS
$custom: #9c8322;
$custom-light: #bda665;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8322",
  "rgb": {
    "r": 156,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 47.705,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61622,
    "c": 0.1145,
    "h": 93.7
  },
  "luminance": 0.23416
}

Semantic roles & 50–950 ramp

primary
#9C8322
secondary
#5A6FC0
accent
#63E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C8322

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

Preview Lab → · Contrast checker → · Palette generator →

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