#A7A528#A7A528

#A7A528 is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.2% C 0.139 H 108.6°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#A7A528
RGBrgb(167, 165, 40)
HSLhsl(59, 61%, 41%)
HSVhsv(59, 76%, 65%)
CMYKcmyk(0%, 1.2%, 76%, 34.5%)
CIE-LABlab(65.97, -13.72, 60.26)
CIE-LCHlch(65.97, 61.81, 102.83°)
OKLaboklab(70.19% -0.0443 0.132)
OKLCHoklch(70.19% 0.139 108.6)
XYZxyz(29.7756, 35.2799, 7.2483)
Luminance0.3528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A528 #282AA7
analogous
#A76528 #A7A528 #69A728
triadic
#A7A528 #28A7A5 #A528A7
tetradic
#A7A528 #28A765 #282AA7 #A72869
square
#A7A528 #28A765 #282AA7 #A72869
split-complementary
#A7A528 #2869A7 #6528A7
monochromatic
#444310 #76741C #A7A528 #D0CE3C #DCDA6D

Accessibility & contrast

On white

2.61
#A7A528 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#A7A528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A528
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A528#FFFFFF#000000##000000
##A7A5281.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E09
Deuteranopia (green-blind)
#B5A232
Tritanopia (blue-blind)
#B39A8D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a7a528;
/* rgb */ color: rgb(167, 165, 40);
/* oklch */ color: oklch(70.2% 0.139 108.6);
Tailwind
colors: {
  custom: {
    50: '#c5bf6c',
    500: '#a7a528',
    950: '#000000',
  },
}
SCSS
$custom: #a7a528;
$custom-light: #c5bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a528",
  "rgb": {
    "r": 167,
    "g": 165,
    "b": 40
  },
  "hsl": {
    "h": 59.055,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.7019,
    "c": 0.13922,
    "h": 108.6
  },
  "luminance": 0.35279
}

Semantic roles & 50–950 ramp

primary
#A7A528
secondary
#6869C3
accent
#46E443
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A528

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

Preview Lab → · Contrast checker → · Palette generator →

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