#A9AF22#A9AF22

#A9AF22 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.6% C 0.152 H 112.2°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#A9AF22
RGBrgb(169, 175, 34)
HSLhsl(63, 67%, 41%)
HSVhsv(63, 81%, 69%)
CMYKcmyk(3.4%, 0%, 80.6%, 31.4%)
CIE-LABlab(68.90, -18.20, 64.78)
CIE-LCHlch(68.90, 67.29, 105.69°)
OKLaboklab(72.57% -0.0573 0.1404)
OKLCHoklch(72.57% 0.152 112.2)
XYZxyz(31.9820, 39.2113, 7.3969)
Luminance0.3921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9AF22 #2822AF
analogous
#AF6E22 #A9AF22 #62AF22
triadic
#A9AF22 #22A9AF #AF22A9
tetradic
#A9AF22 #22AF6E #2822AF #AF2262
square
#A9AF22 #22AF6E #2822AF #AF2262
split-complementary
#A9AF22 #2262AF #6E22AF
monochromatic
#46490E #787C18 #A9AF22 #D1D836 #DDE269

Accessibility & contrast

On white

2.38
#A9AF22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#A9AF22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9AF22
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9AF22#FFFFFF#000000##000000
##A9AF221.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BDAA30
Tritanopia (blue-blind)
#B5A496
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a9af22;
/* rgb */ color: rgb(169, 175, 34);
/* oklch */ color: oklch(72.6% 0.152 112.2);
Tailwind
colors: {
  custom: {
    50: '#c6c66b',
    500: '#a9af22',
    950: '#000000',
  },
}
SCSS
$custom: #a9af22;
$custom-light: #c6c66b;
$custom-dark: #000000;
JSON
{
  "hex": "#a9af22",
  "rgb": {
    "r": 169,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 62.553,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.7257,
    "c": 0.15169,
    "h": 112.2
  },
  "luminance": 0.3921
}

Semantic roles & 50–950 ramp

primary
#A9AF22
secondary
#6965C8
accent
#3DEA45
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #A9AF22

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

Preview Lab → · Contrast checker → · Palette generator →

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