#A7A524#A7A524

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

Color values

HEX#A7A524
RGBrgb(167, 165, 36)
HSLhsl(59, 65%, 40%)
HSVhsv(59, 78%, 65%)
CMYKcmyk(0%, 1.2%, 78.4%, 34.5%)
CIE-LABlab(65.95, -13.88, 61.52)
CIE-LCHlch(65.95, 63.06, 102.71°)
OKLaboklab(70.17% -0.0451 0.1339)
OKLCHoklch(70.17% 0.141 108.6)
XYZxyz(29.7111, 35.2541, 6.9084)
Luminance0.3525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A524 #2426A7
analogous
#A76424 #A7A524 #68A724
triadic
#A7A524 #24A7A5 #A524A7
tetradic
#A7A524 #24A764 #2426A7 #A72468
square
#A7A524 #24A764 #2426A7 #A72468
split-complementary
#A7A524 #2468A7 #6424A7
monochromatic
#42420E #757319 #A7A524 #D3D135 #DEDC67

Accessibility & contrast

On white

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

On black

8.05
#A7A524 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A524
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A524#FFFFFF#000000##000000
##A7A5241.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7a524;
/* rgb */ color: rgb(167, 165, 36);
/* oklch */ color: oklch(70.2% 0.141 108.6);
Tailwind
colors: {
  custom: {
    50: '#c5bf6b',
    500: '#a7a524',
    950: '#000000',
  },
}
SCSS
$custom: #a7a524;
$custom-light: #c5bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a524",
  "rgb": {
    "r": 167,
    "g": 165,
    "b": 36
  },
  "hsl": {
    "h": 59.084,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70168,
    "c": 0.14129,
    "h": 108.6
  },
  "luminance": 0.35253
}

Semantic roles & 50–950 ramp

primary
#A7A524
secondary
#6364C4
accent
#43E840
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A524

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

Preview Lab → · Contrast checker → · Palette generator →

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