#9A9922#9A9922

#9A9922 is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.3% C 0.133 H 109.0°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9A9922
RGBrgb(154, 153, 34)
HSLhsl(60, 64%, 37%)
HSVhsv(60, 78%, 60%)
CMYKcmyk(0%, 0.6%, 77.9%, 39.6%)
CIE-LABlab(61.45, -13.46, 57.68)
CIE-LCHlch(61.45, 59.23, 103.14°)
OKLaboklab(66.31% -0.0434 0.1259)
OKLCHoklch(66.31% 0.133 109)
XYZxyz(25.0074, 29.7688, 5.9417)
Luminance0.2977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9922 #22239A
analogous
#9A5D22 #9A9922 #5F9A22
triadic
#9A9922 #229A99 #99229A
tetradic
#9A9922 #229A5D #22239A #9A225F
square
#9A9922 #229A5D #22239A #9A225F
split-complementary
#9A9922 #225F9A #5D229A
monochromatic
#36350C #686717 #9A9922 #CCCB2D #DBDA5B

Accessibility & contrast

On white

3.02
#9A9922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#9A9922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9922
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9922#FFFFFF#000000##000000
##9A99221.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69201
Deuteranopia (green-blind)
#A8962C
Tritanopia (blue-blind)
#A58F83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9a9922;
/* rgb */ color: rgb(154, 153, 34);
/* oklch */ color: oklch(66.3% 0.133 109.0);
Tailwind
colors: {
  custom: {
    50: '#bbb668',
    500: '#9a9922',
    950: '#000000',
  },
}
SCSS
$custom: #9a9922;
$custom-light: #bbb668;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9922",
  "rgb": {
    "r": 154,
    "g": 153,
    "b": 34
  },
  "hsl": {
    "h": 59.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66309,
    "c": 0.13314,
    "h": 109
  },
  "luminance": 0.29768
}

Semantic roles & 50–950 ramp

primary
#9A9922
secondary
#5859BF
accent
#42E741
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9A9922

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

Preview Lab → · Contrast checker → · Palette generator →

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