#9C9221#9C9221

#9C9221 is a light, vivid yellow. Relative luminance 0.277; OKLCH L 64.9% C 0.127 H 104.1°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9C9221
RGBrgb(156, 146, 33)
HSLhsl(55, 65%, 37%)
HSVhsv(55, 79%, 61%)
CMYKcmyk(0%, 6.4%, 78.8%, 38.8%)
CIE-LABlab(59.65, -8.89, 56.44)
CIE-LCHlch(59.65, 57.13, 98.95°)
OKLaboklab(64.91% -0.0308 0.1229)
OKLCHoklch(64.91% 0.127 104.1)
XYZxyz(24.2648, 27.7365, 5.5141)
Luminance0.2773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9221 #212B9C
analogous
#9C5521 #9C9221 #699C21
triadic
#9C9221 #219C92 #92219C
tetradic
#9C9221 #219C55 #212B9C #9C2169
square
#9C9221 #219C55 #212B9C #9C2169
split-complementary
#9C9221 #21699C #55219C
monochromatic
#37330C #696316 #9C9221 #CFC12C #DCD25B

Accessibility & contrast

On white

3.21
#9C9221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#9C9221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9221
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9221#FFFFFF#000000##000000
##9C92211.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D03
Deuteranopia (green-blind)
#A3922A
Tritanopia (blue-blind)
#A8877D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9c9221;
/* rgb */ color: rgb(156, 146, 33);
/* oklch */ color: oklch(64.9% 0.127 104.1);
Tailwind
colors: {
  custom: {
    50: '#bdb167',
    500: '#9c9221',
    950: '#000000',
  },
}
SCSS
$custom: #9c9221;
$custom-light: #bdb167;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9221",
  "rgb": {
    "r": 156,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 55.122,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64912,
    "c": 0.12673,
    "h": 104.1
  },
  "luminance": 0.27735
}

Semantic roles & 50–950 ramp

primary
#9C9221
secondary
#5861C1
accent
#4DE840
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9C9221

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

Preview Lab → · Contrast checker → · Palette generator →

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