#9A9322#9A9322

#9A9322 is a light, vivid yellow. Relative luminance 0.279; OKLCH L 65.0% C 0.127 H 105.7°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9A9322
RGBrgb(154, 147, 34)
HSLhsl(57, 64%, 37%)
HSVhsv(57, 78%, 60%)
CMYKcmyk(0%, 4.5%, 77.9%, 39.6%)
CIE-LABlab(59.76, -10.29, 56.14)
CIE-LCHlch(59.76, 57.07, 100.39°)
OKLaboklab(64.96% -0.0346 0.1226)
OKLCHoklch(64.96% 0.127 105.7)
XYZxyz(24.0499, 27.8539, 5.6226)
Luminance0.2785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9322 #22299A
analogous
#9A5722 #9A9322 #659A22
triadic
#9A9322 #229A93 #93229A
tetradic
#9A9322 #229A57 #22299A #9A2265
square
#9A9322 #229A57 #22299A #9A2265
split-complementary
#9A9322 #22659A #57229A
monochromatic
#36330C #686317 #9A9322 #CCC32D #DBD35B

Accessibility & contrast

On white

3.20
#9A9322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#9A9322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9322
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9322#FFFFFF#000000##000000
##9A93221.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D05
Deuteranopia (green-blind)
#A3922B
Tritanopia (blue-blind)
#A6897E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9a9322;
/* rgb */ color: rgb(154, 147, 34);
/* oklch */ color: oklch(65.0% 0.127 105.7);
Tailwind
colors: {
  custom: {
    50: '#bbb267',
    500: '#9a9322',
    950: '#000000',
  },
}
SCSS
$custom: #9a9322;
$custom-light: #bbb267;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9322",
  "rgb": {
    "r": 154,
    "g": 147,
    "b": 34
  },
  "hsl": {
    "h": 56.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64955,
    "c": 0.12735,
    "h": 105.7
  },
  "luminance": 0.27853
}

Semantic roles & 50–950 ramp

primary
#9A9322
secondary
#585EBF
accent
#4BE741
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9A9322

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

Preview Lab → · Contrast checker → · Palette generator →

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