#A6A129#A6A129

#A6A129 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.2% C 0.135 H 107.0°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#A6A129
RGBrgb(166, 161, 41)
HSLhsl(58, 60%, 41%)
HSVhsv(58, 75%, 65%)
CMYKcmyk(0%, 3%, 75.3%, 34.9%)
CIE-LABlab(64.77, -12.03, 58.79)
CIE-LCHlch(64.77, 60.01, 101.57°)
OKLaboklab(69.22% -0.0394 0.1291)
OKLCHoklch(69.22% 0.135 107)
XYZxyz(28.8722, 33.7578, 7.0924)
Luminance0.3376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A129 #292EA6
analogous
#A66229 #A6A129 #6CA629
triadic
#A6A129 #29A6A1 #A129A6
tetradic
#A6A129 #29A662 #292EA6 #A6296C
square
#A6A129 #29A662 #292EA6 #A6296C
split-complementary
#A6A129 #296CA6 #6229A6
monochromatic
#444211 #75711D #A6A129 #CFC93D #DBD76E

Accessibility & contrast

On white

2.71
#A6A129 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#A6A129 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A129
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A129#FFFFFF#000000##000000
##A6A1291.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B0F
Deuteranopia (green-blind)
#B19F32
Tritanopia (blue-blind)
#B2968A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a6a129;
/* rgb */ color: rgb(166, 161, 41);
/* oklch */ color: oklch(69.2% 0.135 107.0);
Tailwind
colors: {
  custom: {
    50: '#c4bc6c',
    500: '#a6a129',
    950: '#000000',
  },
}
SCSS
$custom: #a6a129;
$custom-light: #c4bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a129",
  "rgb": {
    "r": 166,
    "g": 161,
    "b": 41
  },
  "hsl": {
    "h": 57.6,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69217,
    "c": 0.13495,
    "h": 107
  },
  "luminance": 0.33757
}

Semantic roles & 50–950 ramp

primary
#A6A129
secondary
#696CC2
accent
#4BE444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A129

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

Preview Lab → · Contrast checker → · Palette generator →

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