#A6A431#A6A431

#A6A431 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.9% C 0.133 H 108.4°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#A6A431
RGBrgb(166, 164, 49)
HSLhsl(59, 54%, 42%)
HSVhsv(59, 70%, 65%)
CMYKcmyk(0%, 1.2%, 70.5%, 34.9%)
CIE-LABlab(65.66, -13.22, 56.74)
CIE-LCHlch(65.66, 58.26, 103.11°)
OKLaboklab(69.94% -0.042 0.1262)
OKLCHoklch(69.94% 0.133 108.4)
XYZxyz(29.5568, 34.8806, 8.0808)
Luminance0.3488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A431 #3133A6
analogous
#A66931 #A6A431 #6EA631
triadic
#A6A431 #31A6A4 #A431A6
tetradic
#A6A431 #31A669 #3133A6 #A6316E
square
#A6A431 #31A669 #3133A6 #A6316E
split-complementary
#A6A431 #316EA6 #6931A6
monochromatic
#474715 #777523 #A6A431 #CAC84A #D8D67A

Accessibility & contrast

On white

2.63
#A6A431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#A6A431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A431
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A431#FFFFFF#000000##000000
##A6A4311.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6a431;
/* rgb */ color: rgb(166, 164, 49);
/* oklch */ color: oklch(69.9% 0.133 108.4);
Tailwind
colors: {
  custom: {
    50: '#c4be71',
    500: '#a6a431',
    950: '#000000',
  },
}
SCSS
$custom: #a6a431;
$custom-light: #c4be71;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a431",
  "rgb": {
    "r": 166,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 58.974,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69939,
    "c": 0.133,
    "h": 108.4
  },
  "luminance": 0.3488
}

Semantic roles & 50–950 ramp

primary
#A6A431
secondary
#7374C0
accent
#4DDE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A431

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

Preview Lab → · Contrast checker → · Palette generator →

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