#A6A529#A6A529

#A6A529 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.04:1 contrast (WCAG AA passes).

Color values

HEX#A6A529
RGBrgb(166, 165, 41)
HSLhsl(60, 60%, 41%)
HSVhsv(60, 75%, 65%)
CMYKcmyk(0%, 0.6%, 75.3%, 34.9%)
CIE-LABlab(65.89, -14.12, 59.83)
CIE-LCHlch(65.89, 61.47, 103.28°)
OKLaboklab(70.11% -0.0453 0.1313)
OKLCHoklch(70.11% 0.139 109)
XYZxyz(29.5824, 35.1783, 7.3292)
Luminance0.3518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A529 #292AA6
analogous
#A66629 #A6A529 #68A629
triadic
#A6A529 #29A6A5 #A529A6
tetradic
#A6A529 #29A666 #292AA6 #A62968
square
#A6A529 #29A666 #292AA6 #A62968
split-complementary
#A6A529 #2968A6 #6629A6
monochromatic
#444311 #75741D #A6A529 #CFCE3D #DBDA6E

Accessibility & contrast

On white

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

On black

8.04
#A6A529 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A529
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A529#FFFFFF#000000##000000
##A6A5291.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E0C
Deuteranopia (green-blind)
#B4A233
Tritanopia (blue-blind)
#B29A8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a6a529;
/* rgb */ color: rgb(166, 165, 41);
/* oklch */ color: oklch(70.1% 0.139 109.0);
Tailwind
colors: {
  custom: {
    50: '#c4bf6d',
    500: '#a6a529',
    950: '#000000',
  },
}
SCSS
$custom: #a6a529;
$custom-light: #c4bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a529",
  "rgb": {
    "r": 166,
    "g": 165,
    "b": 41
  },
  "hsl": {
    "h": 59.52,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70108,
    "c": 0.13886,
    "h": 109
  },
  "luminance": 0.35177
}

Semantic roles & 50–950 ramp

primary
#A6A529
secondary
#6969C2
accent
#46E444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A529

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

Preview Lab → · Contrast checker → · Palette generator →

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