#A6A524#A6A524

#A6A524 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.1% C 0.141 H 109.1°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#A6A524
RGBrgb(166, 165, 36)
HSLhsl(60, 64%, 40%)
HSVhsv(60, 78%, 65%)
CMYKcmyk(0%, 0.6%, 78.3%, 34.9%)
CIE-LABlab(65.86, -14.32, 61.41)
CIE-LCHlch(65.86, 63.06, 103.13°)
OKLaboklab(70.08% -0.0463 0.1337)
OKLCHoklch(70.08% 0.141 109.1)
XYZxyz(29.5006, 35.1456, 6.8985)
Luminance0.3514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A524 #2425A6
analogous
#A66424 #A6A524 #66A624
triadic
#A6A524 #24A6A5 #A524A6
tetradic
#A6A524 #24A664 #2425A6 #A62466
square
#A6A524 #24A664 #2425A6 #A62466
split-complementary
#A6A524 #2466A6 #6424A6
monochromatic
#41410E #747319 #A6A524 #D3D234 #DEDD66

Accessibility & contrast

On white

2.62
#A6A524 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#A6A524 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A524
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A524#FFFFFF#000000##000000
##A6A5241.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6a524;
/* rgb */ color: rgb(166, 165, 36);
/* oklch */ color: oklch(70.1% 0.141 109.1);
Tailwind
colors: {
  custom: {
    50: '#c4bf6b',
    500: '#a6a524',
    950: '#000000',
  },
}
SCSS
$custom: #a6a524;
$custom-light: #c4bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a524",
  "rgb": {
    "r": 166,
    "g": 165,
    "b": 36
  },
  "hsl": {
    "h": 59.538,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.7008,
    "c": 0.14149,
    "h": 109.1
  },
  "luminance": 0.35145
}

Semantic roles & 50–950 ramp

primary
#A6A524
secondary
#6263C4
accent
#42E740
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A524

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

Preview Lab → · Contrast checker → · Palette generator →

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