#A7AA22#A7AA22

#A7AA22 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.3% C 0.147 H 110.9°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#A7AA22
RGBrgb(167, 170, 34)
HSLhsl(61, 67%, 40%)
HSVhsv(61, 80%, 67%)
CMYKcmyk(1.8%, 0%, 80%, 33.3%)
CIE-LABlab(67.34, -16.52, 63.34)
CIE-LCHlch(67.34, 65.46, 104.62°)
OKLaboklab(71.28% -0.0526 0.1374)
OKLCHoklch(71.28% 0.147 110.9)
XYZxyz(30.6009, 37.0813, 7.0585)
Luminance0.3708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AA22 #2522AA
analogous
#AA6922 #A7AA22 #63AA22
triadic
#A7AA22 #22A7AA #AA22A7
tetradic
#A7AA22 #22AA69 #2522AA #AA2263
square
#A7AA22 #22AA69 #2522AA #AA2263
split-complementary
#A7AA22 #2263AA #6922AA
monochromatic
#43440E #757718 #A7AA22 #D3D633 #DEE066

Accessibility & contrast

On white

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

On black

8.42
#A7AA22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AA22
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AA22#FFFFFF#000000##000000
##A7AA221.002.508.428.42
#FFFFFF2.501.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7aa22;
/* rgb */ color: rgb(167, 170, 34);
/* oklch */ color: oklch(71.3% 0.147 110.9);
Tailwind
colors: {
  custom: {
    50: '#c5c36a',
    500: '#a7aa22',
    950: '#000000',
  },
}
SCSS
$custom: #a7aa22;
$custom-light: #c5c36a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7aa22",
  "rgb": {
    "r": 167,
    "g": 170,
    "b": 34
  },
  "hsl": {
    "h": 61.324,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.71277,
    "c": 0.14717,
    "h": 110.9
  },
  "luminance": 0.3708
}

Semantic roles & 50–950 ramp

primary
#A7AA22
secondary
#6462C6
accent
#3EEA42
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7AA22

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

Preview Lab → · Contrast checker → · Palette generator →

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