#A8AA22#A8AA22

#A8AA22 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.4% C 0.147 H 110.5°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#A8AA22
RGBrgb(168, 170, 34)
HSLhsl(61, 67%, 40%)
HSVhsv(61, 80%, 67%)
CMYKcmyk(1.2%, 0%, 80%, 33.3%)
CIE-LABlab(67.42, -16.09, 63.45)
CIE-LCHlch(67.42, 65.45, 104.23°)
OKLaboklab(71.36% -0.0514 0.1376)
OKLCHoklch(71.36% 0.147 110.5)
XYZxyz(30.8131, 37.1907, 7.0685)
Luminance0.3719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AA22 #2422AA
analogous
#AA6822 #A8AA22 #64AA22
triadic
#A8AA22 #22A8AA #AA22A8
tetradic
#A8AA22 #22AA68 #2422AA #AA2264
square
#A8AA22 #22AA68 #2422AA #AA2264
split-complementary
#A8AA22 #2264AA #6822AA
monochromatic
#43440E #767718 #A8AA22 #D4D633 #DFE066

Accessibility & contrast

On white

2.49
#A8AA22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#A8AA22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AA22
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AA22#FFFFFF#000000##000000
##A8AA221.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8aa22;
/* rgb */ color: rgb(168, 170, 34);
/* oklch */ color: oklch(71.4% 0.147 110.5);
Tailwind
colors: {
  custom: {
    50: '#c6c36a',
    500: '#a8aa22',
    950: '#000000',
  },
}
SCSS
$custom: #a8aa22;
$custom-light: #c6c36a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8aa22",
  "rgb": {
    "r": 168,
    "g": 170,
    "b": 34
  },
  "hsl": {
    "h": 60.882,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.71363,
    "c": 0.14692,
    "h": 110.5
  },
  "luminance": 0.3719
}

Semantic roles & 50–950 ramp

primary
#A8AA22
secondary
#6362C6
accent
#3EEA41
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8AA22

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

Preview Lab → · Contrast checker → · Palette generator →

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