#A9A22A#A9A22A

#A9A22A is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.7% C 0.135 H 106.0°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#A9A22A
RGBrgb(169, 162, 42)
HSLhsl(57, 60%, 41%)
HSVhsv(57, 75%, 66%)
CMYKcmyk(0%, 4.1%, 75.1%, 33.7%)
CIE-LABlab(65.31, -11.19, 59.04)
CIE-LCHlch(65.31, 60.09, 100.73°)
OKLaboklab(69.71% -0.0371 0.1297)
OKLCHoklch(69.71% 0.135 106)
XYZxyz(29.7017, 34.4440, 7.2738)
Luminance0.3444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A22A #2A31A9
analogous
#A9632A #A9A22A #71A92A
triadic
#A9A22A #2AA9A2 #A22AA9
tetradic
#A9A22A #2AA963 #2A31A9 #A92A71
square
#A9A22A #2AA963 #2A31A9 #A92A71
split-complementary
#A9A22A #2A71A9 #632AA9
monochromatic
#474412 #78731E #A9A22A #D0C841 #DCD672

Accessibility & contrast

On white

2.66
#A9A22A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#A9A22A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A22A
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A22A#FFFFFF#000000##000000
##A9A22A1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C11
Deuteranopia (green-blind)
#B3A133
Tritanopia (blue-blind)
#B6978B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a9a22a;
/* rgb */ color: rgb(169, 162, 42);
/* oklch */ color: oklch(69.7% 0.135 106.0);
Tailwind
colors: {
  custom: {
    50: '#c6bd6d',
    500: '#a9a22a',
    950: '#000000',
  },
}
SCSS
$custom: #a9a22a;
$custom-light: #c6bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a22a",
  "rgb": {
    "r": 169,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 56.693,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69714,
    "c": 0.1349,
    "h": 106
  },
  "luminance": 0.34443
}

Semantic roles & 50–950 ramp

primary
#A9A22A
secondary
#6C71C3
accent
#4DE344
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A9A22A

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

Preview Lab → · Contrast checker → · Palette generator →

#A9A22A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva