#9A9622#9A9622

#9A9622 is a light, vivid yellow. Relative luminance 0.288; OKLCH L 65.6% C 0.130 H 107.4°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9A9622
RGBrgb(154, 150, 34)
HSLhsl(58, 64%, 37%)
HSVhsv(58, 78%, 60%)
CMYKcmyk(0%, 2.6%, 77.9%, 39.6%)
CIE-LABlab(60.60, -11.88, 56.91)
CIE-LCHlch(60.60, 58.14, 101.79°)
OKLaboklab(65.63% -0.039 0.1242)
OKLCHoklch(65.63% 0.13 107.4)
XYZxyz(24.5225, 28.7991, 5.7801)
Luminance0.2880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9622 #22269A
analogous
#9A5A22 #9A9622 #629A22
triadic
#9A9622 #229A96 #96229A
tetradic
#9A9622 #229A5A #22269A #9A2262
square
#9A9622 #229A5A #22269A #9A2262
split-complementary
#9A9622 #22629A #5A229A
monochromatic
#36340C #686517 #9A9622 #CCC72D #DBD75B

Accessibility & contrast

On white

3.11
#9A9622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#9A9622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9622
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9622#FFFFFF#000000##000000
##9A96221.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39003
Deuteranopia (green-blind)
#A5942C
Tritanopia (blue-blind)
#A68C80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9a9622;
/* rgb */ color: rgb(154, 150, 34);
/* oklch */ color: oklch(65.6% 0.130 107.4);
Tailwind
colors: {
  custom: {
    50: '#bbb468',
    500: '#9a9622',
    950: '#000000',
  },
}
SCSS
$custom: #9a9622;
$custom-light: #bbb468;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9622",
  "rgb": {
    "r": 154,
    "g": 150,
    "b": 34
  },
  "hsl": {
    "h": 58,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.65631,
    "c": 0.1302,
    "h": 107.4
  },
  "luminance": 0.28798
}

Semantic roles & 50–950 ramp

primary
#9A9622
secondary
#585CBF
accent
#46E741
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9A9622

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

Preview Lab → · Contrast checker → · Palette generator →

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