#A7AA20#A7AA20

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

Color values

HEX#A7AA20
RGBrgb(167, 170, 32)
HSLhsl(61, 68%, 40%)
HSVhsv(61, 81%, 67%)
CMYKcmyk(1.8%, 0%, 81.2%, 33.3%)
CIE-LABlab(67.33, -16.59, 63.89)
CIE-LCHlch(67.33, 66.01, 104.56°)
OKLaboklab(71.27% -0.0529 0.1383)
OKLCHoklch(71.27% 0.148 111)
XYZxyz(30.5729, 37.0701, 6.9110)
Luminance0.3707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AA20 #2320AA
analogous
#AA6820 #A7AA20 #62AA20
triadic
#A7AA20 #20A7AA #AA20A7
tetradic
#A7AA20 #20AA68 #2320AA #AA2062
square
#A7AA20 #20AA68 #2320AA #AA2062
split-complementary
#A7AA20 #2062AA #6820AA
monochromatic
#42430D #747616 #A7AA20 #D4D82F #DFE263

Accessibility & contrast

On white

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

On black

8.41
#A7AA20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AA20
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AA20#FFFFFF#000000##000000
##A7AA201.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7aa20;
/* rgb */ color: rgb(167, 170, 32);
/* oklch */ color: oklch(71.3% 0.148 111.0);
Tailwind
colors: {
  custom: {
    50: '#c5c36a',
    500: '#a7aa20',
    950: '#000000',
  },
}
SCSS
$custom: #a7aa20;
$custom-light: #c5c36a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7aa20",
  "rgb": {
    "r": 167,
    "g": 170,
    "b": 32
  },
  "hsl": {
    "h": 61.304,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.71268,
    "c": 0.14805,
    "h": 111
  },
  "luminance": 0.37069
}

Semantic roles & 50–950 ramp

primary
#A7AA20
secondary
#615FC7
accent
#3DEB40
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7AA20

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

Preview Lab → · Contrast checker → · Palette generator →

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