#A6AC29#A6AC29

#A6AC29 is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.7% C 0.146 H 112.2°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#A6AC29
RGBrgb(166, 172, 41)
HSLhsl(63, 62%, 42%)
HSVhsv(63, 76%, 67%)
CMYKcmyk(3.5%, 0%, 76.2%, 32.5%)
CIE-LABlab(67.85, -17.71, 61.65)
CIE-LCHlch(67.85, 64.14, 106.03°)
OKLaboklab(71.68% -0.0553 0.1351)
OKLCHoklch(71.68% 0.146 112.2)
XYZxyz(30.8797, 37.7729, 7.7616)
Luminance0.3777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AC29 #2F29AC
analogous
#AC7129 #A6AC29 #65AC29
triadic
#A6AC29 #29A6AC #AC29A6
tetradic
#A6AC29 #29AC71 #2F29AC #AC2965
square
#A6AC29 #29AC71 #2F29AC #AC2965
split-complementary
#A6AC29 #2965AC #7129AC
monochromatic
#474911 #767B1D #A6AC29 #CBD241 #D8DD72

Accessibility & contrast

On white

2.45
#A6AC29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#A6AC29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AC29
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AC29#FFFFFF#000000##000000
##A6AC291.002.458.558.55
#FFFFFF2.451.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A407
Deuteranopia (green-blind)
#BAA734
Tritanopia (blue-blind)
#B2A193
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a6ac29;
/* rgb */ color: rgb(166, 172, 41);
/* oklch */ color: oklch(71.7% 0.146 112.2);
Tailwind
colors: {
  custom: {
    50: '#c4c46e',
    500: '#a6ac29',
    950: '#000000',
  },
}
SCSS
$custom: #a6ac29;
$custom-light: #c4c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ac29",
  "rgb": {
    "r": 166,
    "g": 172,
    "b": 41
  },
  "hsl": {
    "h": 62.748,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.7168,
    "c": 0.14601,
    "h": 112.2
  },
  "luminance": 0.37772
}

Semantic roles & 50–950 ramp

primary
#A6AC29
secondary
#706CC5
accent
#43E54B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A6AC29

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

Preview Lab → · Contrast checker → · Palette generator →

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