#9C9922#9C9922

#9C9922 is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.5% C 0.133 H 108.0°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#9C9922
RGBrgb(156, 153, 34)
HSLhsl(59, 64%, 37%)
HSVhsv(59, 78%, 61%)
CMYKcmyk(0%, 1.9%, 78.2%, 38.8%)
CIE-LABlab(61.63, -12.57, 57.90)
CIE-LCHlch(61.63, 59.25, 102.25°)
OKLaboklab(66.49% -0.0411 0.1263)
OKLCHoklch(66.49% 0.133 108)
XYZxyz(25.3913, 29.9667, 5.9597)
Luminance0.2997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9922 #22259C
analogous
#9C5C22 #9C9922 #629C22
triadic
#9C9922 #229C99 #99229C
tetradic
#9C9922 #229C5C #22259C #9C2262
square
#9C9922 #229C5C #22259C #9C2262
split-complementary
#9C9922 #22629C #5C229C
monochromatic
#38360C #6A6817 #9C9922 #CECA2D #DCD95D

Accessibility & contrast

On white

3.00
#9C9922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#9C9922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9922
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9922#FFFFFF#000000##000000
##9C99221.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69301
Deuteranopia (green-blind)
#A8972C
Tritanopia (blue-blind)
#A88F83
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9c9922;
/* rgb */ color: rgb(156, 153, 34);
/* oklch */ color: oklch(66.5% 0.133 108.0);
Tailwind
colors: {
  custom: {
    50: '#bdb668',
    500: '#9c9922',
    950: '#000000',
  },
}
SCSS
$custom: #9c9922;
$custom-light: #bdb668;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9922",
  "rgb": {
    "r": 156,
    "g": 153,
    "b": 34
  },
  "hsl": {
    "h": 58.525,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.66488,
    "c": 0.13276,
    "h": 108
  },
  "luminance": 0.29966
}

Semantic roles & 50–950 ramp

primary
#9C9922
secondary
#5A5CC0
accent
#45E741
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9C9922

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

Preview Lab → · Contrast checker → · Palette generator →

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