#9A9220#9A9220

#9A9220 is a light, vivid yellow. Relative luminance 0.275; OKLCH L 64.7% C 0.127 H 105.2°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9A9220
RGBrgb(154, 146, 32)
HSLhsl(56, 66%, 36%)
HSVhsv(56, 79%, 60%)
CMYKcmyk(0%, 5.2%, 79.2%, 39.6%)
CIE-LABlab(59.46, -9.83, 56.52)
CIE-LCHlch(59.46, 57.37, 99.87°)
OKLaboklab(64.72% -0.0335 0.123)
OKLCHoklch(64.72% 0.127 105.2)
XYZxyz(23.8671, 27.5330, 5.4234)
Luminance0.2753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9220 #20289A
analogous
#9A5520 #9A9220 #659A20
triadic
#9A9220 #209A92 #92209A
tetradic
#9A9220 #209A55 #20289A #9A2065
square
#9A9220 #209A55 #20289A #9A2065
split-complementary
#9A9220 #20659A #55209A
monochromatic
#35320B #676215 #9A9220 #CDC22B #DCD458

Accessibility & contrast

On white

3.23
#9A9220 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#9A9220 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9220
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9220#FFFFFF#000000##000000
##9A92201.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D00
Deuteranopia (green-blind)
#A29129
Tritanopia (blue-blind)
#A6887D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9a9220;
/* rgb */ color: rgb(154, 146, 32);
/* oklch */ color: oklch(64.7% 0.127 105.2);
Tailwind
colors: {
  custom: {
    50: '#bbb166',
    500: '#9a9220',
    950: '#000000',
  },
}
SCSS
$custom: #9a9220;
$custom-light: #bbb166;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9220",
  "rgb": {
    "r": 154,
    "g": 146,
    "b": 32
  },
  "hsl": {
    "h": 56.066,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.64719,
    "c": 0.12747,
    "h": 105.2
  },
  "luminance": 0.27532
}

Semantic roles & 50–950 ramp

primary
#9A9220
secondary
#565DC0
accent
#4AE93F
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9A9220

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

Preview Lab → · Contrast checker → · Palette generator →

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