#9C9322#9C9322

#9C9322 is a light, vivid yellow. Relative luminance 0.281; OKLCH L 65.1% C 0.127 H 104.6°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9C9322
RGBrgb(156, 147, 34)
HSLhsl(56, 64%, 37%)
HSVhsv(56, 78%, 61%)
CMYKcmyk(0%, 5.8%, 78.2%, 38.8%)
CIE-LABlab(59.94, -9.39, 56.37)
CIE-LCHlch(59.94, 57.14, 99.45°)
OKLaboklab(65.14% -0.0321 0.123)
OKLCHoklch(65.14% 0.127 104.6)
XYZxyz(24.4338, 28.0518, 5.6406)
Luminance0.2805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9322 #222B9C
analogous
#9C5622 #9C9322 #689C22
triadic
#9C9322 #229C93 #93229C
tetradic
#9C9322 #229C56 #222B9C #9C2268
square
#9C9322 #229C56 #222B9C #9C2268
split-complementary
#9C9322 #22689C #56229C
monochromatic
#38340C #6A6417 #9C9322 #CEC22D #DCD25D

Accessibility & contrast

On white

3.18
#9C9322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#9C9322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9322
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9322#FFFFFF#000000##000000
##9C93221.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E05
Deuteranopia (green-blind)
#A4932B
Tritanopia (blue-blind)
#A8887E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9c9322;
/* rgb */ color: rgb(156, 147, 34);
/* oklch */ color: oklch(65.1% 0.127 104.6);
Tailwind
colors: {
  custom: {
    50: '#bdb267',
    500: '#9c9322',
    950: '#000000',
  },
}
SCSS
$custom: #9c9322;
$custom-light: #bdb267;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9322",
  "rgb": {
    "r": 156,
    "g": 147,
    "b": 34
  },
  "hsl": {
    "h": 55.574,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65141,
    "c": 0.1271,
    "h": 104.6
  },
  "luminance": 0.28051
}

Semantic roles & 50–950 ramp

primary
#9C9322
secondary
#5A61C0
accent
#4DE741
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9C9322

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

Preview Lab → · Contrast checker → · Palette generator →

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