#A7A620#A7A620

#A7A620 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.4% C 0.144 H 109.1°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#A7A620
RGBrgb(167, 166, 32)
HSLhsl(60, 68%, 39%)
HSVhsv(60, 81%, 65%)
CMYKcmyk(0%, 0.6%, 80.8%, 34.5%)
CIE-LABlab(66.21, -14.54, 62.92)
CIE-LCHlch(66.21, 64.58, 103.01°)
OKLaboklab(70.37% -0.0472 0.1362)
OKLCHoklch(70.37% 0.144 109.1)
XYZxyz(29.8345, 35.5932, 6.6648)
Luminance0.3559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A620 #2021A7
analogous
#A76320 #A7A620 #65A720
triadic
#A7A620 #20A7A6 #A620A7
tetradic
#A7A620 #20A763 #2021A7 #A72065
square
#A7A620 #20A763 #2021A7 #A72065
split-complementary
#A7A620 #2065A7 #6320A7
monochromatic
#40400C #747316 #A7A620 #D7D62D #E1E061

Accessibility & contrast

On white

2.59
#A7A620 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#A7A620 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A620
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A620#FFFFFF#000000##000000
##A7A6201.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B6A32D
Tritanopia (blue-blind)
#B39B8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a7a620;
/* rgb */ color: rgb(167, 166, 32);
/* oklch */ color: oklch(70.4% 0.144 109.1);
Tailwind
colors: {
  custom: {
    50: '#c5c069',
    500: '#a7a620',
    950: '#000000',
  },
}
SCSS
$custom: #a7a620;
$custom-light: #c5c069;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a620",
  "rgb": {
    "r": 167,
    "g": 166,
    "b": 32
  },
  "hsl": {
    "h": 59.556,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.70371,
    "c": 0.14413,
    "h": 109.1
  },
  "luminance": 0.35592
}

Semantic roles & 50–950 ramp

primary
#A7A620
secondary
#5D5EC5
accent
#3EEB3D
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A620

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

Preview Lab → · Contrast checker → · Palette generator →

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