#A6AA22#A6AA22

#A6AA22 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.2% C 0.147 H 111.4°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#A6AA22
RGBrgb(166, 170, 34)
HSLhsl(62, 67%, 40%)
HSVhsv(62, 80%, 67%)
CMYKcmyk(2.4%, 0%, 80%, 33.3%)
CIE-LABlab(67.26, -16.96, 63.24)
CIE-LCHlch(67.26, 65.48, 105.01°)
OKLaboklab(71.19% -0.0538 0.1373)
OKLCHoklch(71.19% 0.147 111.4)
XYZxyz(30.3904, 36.9728, 7.0486)
Luminance0.3697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AA22 #2622AA
analogous
#AA6A22 #A6AA22 #62AA22
triadic
#A6AA22 #22A6AA #AA22A6
tetradic
#A6AA22 #22AA6A #2622AA #AA2262
square
#A6AA22 #22AA6A #2622AA #AA2262
split-complementary
#A6AA22 #2262AA #6A22AA
monochromatic
#42440E #747718 #A6AA22 #D1D633 #DDE066

Accessibility & contrast

On white

2.50
#A6AA22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#A6AA22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AA22
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AA22#FFFFFF#000000##000000
##A6AA221.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B9A52F
Tritanopia (blue-blind)
#B29F91
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a6aa22;
/* rgb */ color: rgb(166, 170, 34);
/* oklch */ color: oklch(71.2% 0.147 111.4);
Tailwind
colors: {
  custom: {
    50: '#c4c36a',
    500: '#a6aa22',
    950: '#000000',
  },
}
SCSS
$custom: #a6aa22;
$custom-light: #c4c36a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6aa22",
  "rgb": {
    "r": 166,
    "g": 170,
    "b": 34
  },
  "hsl": {
    "h": 61.765,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.71192,
    "c": 0.14742,
    "h": 111.4
  },
  "luminance": 0.36972
}

Semantic roles & 50–950 ramp

primary
#A6AA22
secondary
#6562C6
accent
#3EEA43
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6AA22

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

Preview Lab → · Contrast checker → · Palette generator →

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