#A6A528#A6A528

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

Color values

HEX#A6A528
RGBrgb(166, 165, 40)
HSLhsl(60, 61%, 40%)
HSVhsv(60, 76%, 65%)
CMYKcmyk(0%, 0.6%, 75.9%, 34.9%)
CIE-LABlab(65.88, -14.16, 60.16)
CIE-LCHlch(65.88, 61.80, 103.25°)
OKLaboklab(70.1% -0.0455 0.1318)
OKLCHoklch(70.1% 0.139 109)
XYZxyz(29.5651, 35.1714, 7.2384)
Luminance0.3517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A528 #2829A6
analogous
#A66628 #A6A528 #68A628
triadic
#A6A528 #28A6A5 #A528A6
tetradic
#A6A528 #28A666 #2829A6 #A62868
square
#A6A528 #28A666 #2829A6 #A62868
split-complementary
#A6A528 #2868A6 #6628A6
monochromatic
#434310 #75741C #A6A528 #D0CF3B #DCDB6D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6A528#FFFFFF#000000##000000
##A6A5281.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6a528;
/* rgb */ color: rgb(166, 165, 40);
/* oklch */ color: oklch(70.1% 0.139 109.0);
Tailwind
colors: {
  custom: {
    50: '#c4bf6c',
    500: '#a6a528',
    950: '#000000',
  },
}
SCSS
$custom: #a6a528;
$custom-light: #c4bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a528",
  "rgb": {
    "r": 166,
    "g": 165,
    "b": 40
  },
  "hsl": {
    "h": 59.524,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70102,
    "c": 0.13941,
    "h": 109
  },
  "luminance": 0.3517
}

Semantic roles & 50–950 ramp

primary
#A6A528
secondary
#6768C2
accent
#45E444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A528

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

Preview Lab → · Contrast checker → · Palette generator →

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