#A7A420#A7A420

#A7A420 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.9% C 0.142 H 108.2°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#A7A420
RGBrgb(167, 164, 32)
HSLhsl(59, 68%, 39%)
HSVhsv(59, 81%, 65%)
CMYKcmyk(0%, 1.8%, 80.8%, 34.5%)
CIE-LABlab(65.65, -13.50, 62.43)
CIE-LCHlch(65.65, 63.87, 102.21°)
OKLaboklab(69.92% -0.0444 0.1351)
OKLCHoklch(69.92% 0.142 108.2)
XYZxyz(29.4737, 34.8717, 6.5446)
Luminance0.3487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A420 #2023A7
analogous
#A76120 #A7A420 #67A720
triadic
#A7A420 #20A7A4 #A420A7
tetradic
#A7A420 #20A761 #2023A7 #A72067
square
#A7A420 #20A761 #2023A7 #A72067
split-complementary
#A7A420 #2067A7 #6120A7
monochromatic
#403F0C #747216 #A7A420 #D7D32D #E1DE61

Accessibility & contrast

On white

2.63
#A7A420 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#A7A420 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A420
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A420#FFFFFF#000000##000000
##A7A4201.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B4A12C
Tritanopia (blue-blind)
#B4998C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a7a420;
/* rgb */ color: rgb(167, 164, 32);
/* oklch */ color: oklch(69.9% 0.142 108.2);
Tailwind
colors: {
  custom: {
    50: '#c5be69',
    500: '#a7a420',
    950: '#000000',
  },
}
SCSS
$custom: #a7a420;
$custom-light: #c5be69;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a420",
  "rgb": {
    "r": 167,
    "g": 164,
    "b": 32
  },
  "hsl": {
    "h": 58.667,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.69924,
    "c": 0.14221,
    "h": 108.2
  },
  "luminance": 0.34871
}

Semantic roles & 50–950 ramp

primary
#A7A420
secondary
#5D60C5
accent
#41EB3D
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A420

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

Preview Lab → · Contrast checker → · Palette generator →

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