#9C9522#9C9522

#9C9522 is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.6% C 0.129 H 105.8°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9C9522
RGBrgb(156, 149, 34)
HSLhsl(57, 64%, 37%)
HSVhsv(57, 78%, 61%)
CMYKcmyk(0%, 4.5%, 78.2%, 38.8%)
CIE-LABlab(60.50, -10.45, 56.88)
CIE-LCHlch(60.50, 57.83, 100.41°)
OKLaboklab(65.59% -0.0351 0.1241)
OKLCHoklch(65.59% 0.129 105.8)
XYZxyz(24.7475, 28.6793, 5.7451)
Luminance0.2868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9522 #22299C
analogous
#9C5822 #9C9522 #669C22
triadic
#9C9522 #229C95 #95229C
tetradic
#9C9522 #229C58 #22299C #9C2266
square
#9C9522 #229C58 #22299C #9C2266
split-complementary
#9C9522 #22669C #58229C
monochromatic
#38350C #6A6517 #9C9522 #CEC52D #DCD45D

Accessibility & contrast

On white

3.12
#9C9522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#9C9522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9522
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9522#FFFFFF#000000##000000
##9C95221.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F04
Deuteranopia (green-blind)
#A5942B
Tritanopia (blue-blind)
#A88A80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9c9522;
/* rgb */ color: rgb(156, 149, 34);
/* oklch */ color: oklch(65.6% 0.129 105.8);
Tailwind
colors: {
  custom: {
    50: '#bdb367',
    500: '#9c9522',
    950: '#000000',
  },
}
SCSS
$custom: #9c9522;
$custom-light: #bdb367;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9522",
  "rgb": {
    "r": 156,
    "g": 149,
    "b": 34
  },
  "hsl": {
    "h": 56.557,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65588,
    "c": 0.12894,
    "h": 105.8
  },
  "luminance": 0.28678
}

Semantic roles & 50–950 ramp

primary
#9C9522
secondary
#5A60C0
accent
#4AE741
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9C9522

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

Preview Lab → · Contrast checker → · Palette generator →

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