#A7A920#A7A920

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

Color values

HEX#A7A920
RGBrgb(167, 169, 32)
HSLhsl(61, 68%, 39%)
HSVhsv(61, 81%, 66%)
CMYKcmyk(1.2%, 0%, 81.1%, 33.7%)
CIE-LABlab(67.05, -16.08, 63.65)
CIE-LCHlch(67.05, 65.65, 104.18°)
OKLaboklab(71.04% -0.0515 0.1377)
OKLCHoklch(71.04% 0.147 110.5)
XYZxyz(30.3862, 36.6966, 6.8487)
Luminance0.3670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A920 #2220A9
analogous
#A96720 #A7A920 #63A920
triadic
#A7A920 #20A7A9 #A920A7
tetradic
#A7A920 #20A967 #2220A9 #A92063
square
#A7A920 #20A967 #2220A9 #A92063
split-complementary
#A7A920 #2063A9 #6720A9
monochromatic
#41420D #747616 #A7A920 #D5D82F #DFE162

Accessibility & contrast

On white

2.52
#A7A920 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#A7A920 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A920
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A920#FFFFFF#000000##000000
##A7A9201.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B8A52D
Tritanopia (blue-blind)
#B39E90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a7a920;
/* rgb */ color: rgb(167, 169, 32);
/* oklch */ color: oklch(71.0% 0.147 110.5);
Tailwind
colors: {
  custom: {
    50: '#c5c26a',
    500: '#a7a920',
    950: '#000000',
  },
}
SCSS
$custom: #a7a920;
$custom-light: #c5c26a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a920",
  "rgb": {
    "r": 167,
    "g": 169,
    "b": 32
  },
  "hsl": {
    "h": 60.876,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.71043,
    "c": 0.14705,
    "h": 110.5
  },
  "luminance": 0.36696
}

Semantic roles & 50–950 ramp

primary
#A7A920
secondary
#605FC6
accent
#3DEB3F
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A920

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

Preview Lab → · Contrast checker → · Palette generator →

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