#A7A526#A7A526

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

Color values

HEX#A7A526
RGBrgb(167, 165, 38)
HSLhsl(59, 63%, 40%)
HSVhsv(59, 77%, 65%)
CMYKcmyk(0%, 1.2%, 77.2%, 34.5%)
CIE-LABlab(65.96, -13.80, 60.90)
CIE-LCHlch(65.96, 62.45, 102.77°)
OKLaboklab(70.18% -0.0447 0.133)
OKLCHoklch(70.18% 0.14 108.6)
XYZxyz(29.7425, 35.2667, 7.0738)
Luminance0.3527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A526 #2628A7
analogous
#A76526 #A7A526 #68A726
triadic
#A7A526 #26A7A5 #A526A7
tetradic
#A7A526 #26A765 #2628A7 #A72668
square
#A7A526 #26A765 #2628A7 #A72668
split-complementary
#A7A526 #2668A7 #6526A7
monochromatic
#43420F #75741B #A7A526 #D2CF38 #DDDB6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7A526#FFFFFF#000000##000000
##A7A5261.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)
#B39E03
Deuteranopia (green-blind)
#B5A231
Tritanopia (blue-blind)
#B39A8D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a7a526;
/* rgb */ color: rgb(167, 165, 38);
/* oklch */ color: oklch(70.2% 0.140 108.6);
Tailwind
colors: {
  custom: {
    50: '#c5bf6c',
    500: '#a7a526',
    950: '#000000',
  },
}
SCSS
$custom: #a7a526;
$custom-light: #c5bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a526",
  "rgb": {
    "r": 167,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 59.07,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70178,
    "c": 0.14028,
    "h": 108.6
  },
  "luminance": 0.35266
}

Semantic roles & 50–950 ramp

primary
#A7A526
secondary
#6567C3
accent
#44E642
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A526

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

Preview Lab → · Contrast checker → · Palette generator →

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