#A6A82A#A6A82A

#A6A82A is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.8% C 0.141 H 110.5°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#A6A82A
RGBrgb(166, 168, 42)
HSLhsl(61, 60%, 41%)
HSVhsv(61, 75%, 66%)
CMYKcmyk(1.2%, 0%, 75%, 34.1%)
CIE-LABlab(66.73, -15.62, 60.28)
CIE-LCHlch(66.73, 62.27, 104.53°)
OKLaboklab(70.79% -0.0494 0.1324)
OKLCHoklch(70.79% 0.141 110.5)
XYZxyz(30.1475, 36.2803, 7.6048)
Luminance0.3628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A82A #2C2AA8
analogous
#A86B2A #A6A82A #67A82A
triadic
#A6A82A #2AA6A8 #A82AA6
tetradic
#A6A82A #2AA86B #2C2AA8 #A82A67
square
#A6A82A #2AA86B #2C2AA8 #A82A67
split-complementary
#A6A82A #2A67A8 #6B2AA8
monochromatic
#454612 #76771E #A6A82A #CDCF40 #DADB71

Accessibility & contrast

On white

2.54
#A6A82A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#A6A82A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A82A
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A82A#FFFFFF#000000##000000
##A6A82A1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A00D
Deuteranopia (green-blind)
#B7A434
Tritanopia (blue-blind)
#B29D90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a6a82a;
/* rgb */ color: rgb(166, 168, 42);
/* oklch */ color: oklch(70.8% 0.141 110.5);
Tailwind
colors: {
  custom: {
    50: '#c4c16e',
    500: '#a6a82a',
    950: '#000000',
  },
}
SCSS
$custom: #a6a82a;
$custom-light: #c4c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a82a",
  "rgb": {
    "r": 166,
    "g": 168,
    "b": 42
  },
  "hsl": {
    "h": 60.952,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.70786,
    "c": 0.14133,
    "h": 110.5
  },
  "luminance": 0.36279
}

Semantic roles & 50–950 ramp

primary
#A6A82A
secondary
#6D6BC3
accent
#45E347
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A82A

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

Preview Lab → · Contrast checker → · Palette generator →

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