#A6A429#A6A429

#A6A429 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.9% C 0.138 H 108.5°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#A6A429
RGBrgb(166, 164, 41)
HSLhsl(59, 60%, 41%)
HSVhsv(59, 75%, 65%)
CMYKcmyk(0%, 1.2%, 75.3%, 34.9%)
CIE-LABlab(65.61, -13.60, 59.57)
CIE-LCHlch(65.61, 61.10, 102.86°)
OKLaboklab(69.88% -0.0438 0.1307)
OKLCHoklch(69.88% 0.138 108.5)
XYZxyz(29.4027, 34.8190, 7.2693)
Luminance0.3482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A429 #292BA6
analogous
#A66529 #A6A429 #69A629
triadic
#A6A429 #29A6A4 #A429A6
tetradic
#A6A429 #29A665 #292BA6 #A62969
square
#A6A429 #29A665 #292BA6 #A62969
split-complementary
#A6A429 #2969A6 #6529A6
monochromatic
#444311 #75741D #A6A429 #CFCD3D #DBD96E

Accessibility & contrast

On white

2.64
#A6A429 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#A6A429 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A429
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A429#FFFFFF#000000##000000
##A6A4291.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D0D
Deuteranopia (green-blind)
#B4A133
Tritanopia (blue-blind)
#B2998D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a6a429;
/* rgb */ color: rgb(166, 164, 41);
/* oklch */ color: oklch(69.9% 0.138 108.5);
Tailwind
colors: {
  custom: {
    50: '#c4be6d',
    500: '#a6a429',
    950: '#000000',
  },
}
SCSS
$custom: #a6a429;
$custom-light: #c4be6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a429",
  "rgb": {
    "r": 166,
    "g": 164,
    "b": 41
  },
  "hsl": {
    "h": 59.04,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69885,
    "c": 0.13787,
    "h": 108.5
  },
  "luminance": 0.34818
}

Semantic roles & 50–950 ramp

primary
#A6A429
secondary
#696AC2
accent
#47E444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A429

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

Preview Lab → · Contrast checker → · Palette generator →

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