#9A9422#9A9422

#9A9422 is a light, vivid yellow. Relative luminance 0.282; OKLCH L 65.2% C 0.128 H 106.3°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9A9422
RGBrgb(154, 148, 34)
HSLhsl(57, 64%, 37%)
HSVhsv(57, 78%, 60%)
CMYKcmyk(0%, 3.9%, 77.9%, 39.6%)
CIE-LABlab(60.04, -10.82, 56.40)
CIE-LCHlch(60.04, 57.42, 100.86°)
OKLaboklab(65.18% -0.036 0.1231)
OKLCHoklch(65.18% 0.128 106.3)
XYZxyz(24.2061, 28.1662, 5.6746)
Luminance0.2817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9422 #22289A
analogous
#9A5822 #9A9422 #649A22
triadic
#9A9422 #229A94 #94229A
tetradic
#9A9422 #229A58 #22289A #9A2264
square
#9A9422 #229A58 #22289A #9A2264
split-complementary
#9A9422 #22649A #58229A
monochromatic
#36340C #686417 #9A9422 #CCC42D #DBD55B

Accessibility & contrast

On white

3.17
#9A9422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#9A9422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9422
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9422#FFFFFF#000000##000000
##9A94221.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E04
Deuteranopia (green-blind)
#A4932B
Tritanopia (blue-blind)
#A68A7F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9a9422;
/* rgb */ color: rgb(154, 148, 34);
/* oklch */ color: oklch(65.2% 0.128 106.3);
Tailwind
colors: {
  custom: {
    50: '#bbb367',
    500: '#9a9422',
    950: '#000000',
  },
}
SCSS
$custom: #9a9422;
$custom-light: #bbb367;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9422",
  "rgb": {
    "r": 154,
    "g": 148,
    "b": 34
  },
  "hsl": {
    "h": 57,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6518,
    "c": 0.12829,
    "h": 106.3
  },
  "luminance": 0.28165
}

Semantic roles & 50–950 ramp

primary
#9A9422
secondary
#585EBF
accent
#49E741
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9A9422

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

Preview Lab → · Contrast checker → · Palette generator →

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