#A6A531#A6A531

#A6A531 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.2% C 0.134 H 108.9°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#A6A531
RGBrgb(166, 165, 49)
HSLhsl(59, 54%, 42%)
HSVhsv(59, 70%, 65%)
CMYKcmyk(0%, 0.6%, 70.5%, 34.9%)
CIE-LABlab(65.94, -13.74, 57.01)
CIE-LCHlch(65.94, 58.64, 103.55°)
OKLaboklab(70.16% -0.0434 0.1268)
OKLCHoklch(70.16% 0.134 108.9)
XYZxyz(29.7365, 35.2399, 8.1407)
Luminance0.3524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A531 #3132A6
analogous
#A66A31 #A6A531 #6DA631
triadic
#A6A531 #31A6A5 #A531A6
tetradic
#A6A531 #31A66A #3132A6 #A6316D
square
#A6A531 #31A66A #3132A6 #A6316D
split-complementary
#A6A531 #316DA6 #6A31A6
monochromatic
#474715 #777623 #A6A531 #CAC94A #D8D77A

Accessibility & contrast

On white

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

On black

8.05
#A6A531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A531
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A531#FFFFFF#000000##000000
##A6A5311.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6a531;
/* rgb */ color: rgb(166, 165, 49);
/* oklch */ color: oklch(70.2% 0.134 108.9);
Tailwind
colors: {
  custom: {
    50: '#c4bf71',
    500: '#a6a531',
    950: '#000000',
  },
}
SCSS
$custom: #a6a531;
$custom-light: #c4bf71;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a531",
  "rgb": {
    "r": 166,
    "g": 165,
    "b": 49
  },
  "hsl": {
    "h": 59.487,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70162,
    "c": 0.13402,
    "h": 108.9
  },
  "luminance": 0.35239
}

Semantic roles & 50–950 ramp

primary
#A6A531
secondary
#7373C0
accent
#4BDE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A531

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

Preview Lab → · Contrast checker → · Palette generator →

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