#A6AC2A#A6AC2A

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

Color values

HEX#A6AC2A
RGBrgb(166, 172, 42)
HSLhsl(63, 61%, 42%)
HSVhsv(63, 76%, 67%)
CMYKcmyk(3.5%, 0%, 75.6%, 32.5%)
CIE-LABlab(67.86, -17.66, 61.33)
CIE-LCHlch(67.86, 63.82, 106.07°)
OKLaboklab(71.69% -0.0551 0.1346)
OKLCHoklch(71.69% 0.145 112.2)
XYZxyz(30.8973, 37.7800, 7.8547)
Luminance0.3778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AC2A #302AAC
analogous
#AC712A #A6AC2A #65AC2A
triadic
#A6AC2A #2AA6AC #AC2AA6
tetradic
#A6AC2A #2AAC71 #302AAC #AC2A65
square
#A6AC2A #2AAC71 #302AAC #AC2A65
split-complementary
#A6AC2A #2A65AC #712AAC
monochromatic
#474A12 #777B1E #A6AC2A #CAD142 #D8DD73

Accessibility & contrast

On white

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

On black

8.56
#A6AC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AC2A
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AC2A#FFFFFF#000000##000000
##A6AC2A1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A40A
Deuteranopia (green-blind)
#BAA735
Tritanopia (blue-blind)
#B2A194
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a6ac2a;
/* rgb */ color: rgb(166, 172, 42);
/* oklch */ color: oklch(71.7% 0.145 112.2);
Tailwind
colors: {
  custom: {
    50: '#c4c46e',
    500: '#a6ac2a',
    950: '#000000',
  },
}
SCSS
$custom: #a6ac2a;
$custom-light: #c4c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ac2a",
  "rgb": {
    "r": 166,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 62.769,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71686,
    "c": 0.14547,
    "h": 112.2
  },
  "luminance": 0.37779
}

Semantic roles & 50–950 ramp

primary
#A6AC2A
secondary
#716DC4
accent
#44E44B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6AC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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