#9C8422#9C8422

#9C8422 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.8% C 0.115 H 94.5°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9C8422
RGBrgb(156, 132, 34)
HSLhsl(48, 64%, 37%)
HSVhsv(48, 78%, 61%)
CMYKcmyk(0%, 15.4%, 78.2%, 38.8%)
CIE-LABlab(55.77, -1.21, 52.54)
CIE-LCHlch(55.77, 52.56, 91.32°)
OKLaboklab(61.84% -0.0091 0.1148)
OKLCHoklch(61.84% 0.115 94.5)
XYZxyz(22.2515, 23.6872, 4.9131)
Luminance0.2369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8422 #223A9C
analogous
#9C4722 #9C8422 #779C22
triadic
#9C8422 #229C84 #84229C
tetradic
#9C8422 #229C47 #223A9C #9C2277
square
#9C8422 #229C47 #223A9C #9C2277
split-complementary
#9C8422 #22779C #47229C
monochromatic
#382F0C #6A5917 #9C8422 #CEAF2D #DCC35D

Accessibility & contrast

On white

3.66
#9C8422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#9C8422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8422
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8422#FFFFFF#000000##000000
##9C84221.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93810E
Deuteranopia (green-blind)
#998928
Tritanopia (blue-blind)
#A97971
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9c8422;
/* rgb */ color: rgb(156, 132, 34);
/* oklch */ color: oklch(61.8% 0.115 94.5);
Tailwind
colors: {
  custom: {
    50: '#bda765',
    500: '#9c8422',
    950: '#000000',
  },
}
SCSS
$custom: #9c8422;
$custom-light: #bda765;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8422",
  "rgb": {
    "r": 156,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 48.197,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61838,
    "c": 0.11516,
    "h": 94.5
  },
  "luminance": 0.23686
}

Semantic roles & 50–950 ramp

primary
#9C8422
secondary
#5A6EC0
accent
#61E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C8422

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

Preview Lab → · Contrast checker → · Palette generator →

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