#A7A525#A7A525

#A7A525 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#A7A525
RGBrgb(167, 165, 37)
HSLhsl(59, 64%, 40%)
HSVhsv(59, 78%, 65%)
CMYKcmyk(0%, 1.2%, 77.8%, 34.5%)
CIE-LABlab(65.95, -13.84, 61.21)
CIE-LCHlch(65.95, 62.76, 102.74°)
OKLaboklab(70.17% -0.0449 0.1334)
OKLCHoklch(70.17% 0.141 108.6)
XYZxyz(29.7266, 35.2603, 6.9899)
Luminance0.3526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A525 #2527A7
analogous
#A76425 #A7A525 #68A725
triadic
#A7A525 #25A7A5 #A525A7
tetradic
#A7A525 #25A764 #2527A7 #A72568
square
#A7A525 #25A764 #2527A7 #A72568
split-complementary
#A7A525 #2568A7 #6425A7
monochromatic
#43420F #75731A #A7A525 #D3D037 #DEDC69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7A525#FFFFFF#000000##000000
##A7A5251.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)
#B5A230
Tritanopia (blue-blind)
#B39A8D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a7a525;
/* rgb */ color: rgb(167, 165, 37);
/* oklch */ color: oklch(70.2% 0.141 108.6);
Tailwind
colors: {
  custom: {
    50: '#c5bf6b',
    500: '#a7a525',
    950: '#000000',
  },
}
SCSS
$custom: #a7a525;
$custom-light: #c5bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a525",
  "rgb": {
    "r": 167,
    "g": 165,
    "b": 37
  },
  "hsl": {
    "h": 59.077,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.70173,
    "c": 0.14079,
    "h": 108.6
  },
  "luminance": 0.35259
}

Semantic roles & 50–950 ramp

primary
#A7A525
secondary
#6466C4
accent
#44E741
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A525

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

Preview Lab → · Contrast checker → · Palette generator →

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