#A6AC2C#A6AC2C

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

Color values

HEX#A6AC2C
RGBrgb(166, 172, 44)
HSLhsl(63, 59%, 42%)
HSVhsv(63, 74%, 67%)
CMYKcmyk(3.5%, 0%, 74.4%, 32.5%)
CIE-LABlab(67.87, -17.57, 60.67)
CIE-LCHlch(67.87, 63.16, 106.16°)
OKLaboklab(71.7% -0.0546 0.1336)
OKLCHoklch(71.7% 0.144 112.2)
XYZxyz(30.9340, 37.7946, 8.0479)
Luminance0.3779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AC2C #322CAC
analogous
#AC722C #A6AC2C #66AC2C
triadic
#A6AC2C #2CA6AC #AC2CA6
tetradic
#A6AC2C #2CAC72 #322CAC #AC2C66
square
#A6AC2C #2CAC72 #322CAC #AC2C66
split-complementary
#A6AC2C #2C66AC #722CAC
monochromatic
#484B13 #777B20 #A6AC2C #C9D046 #D7DC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6AC2C#FFFFFF#000000##000000
##A6AC2C1.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)
#B9A410
Deuteranopia (green-blind)
#BAA737
Tritanopia (blue-blind)
#B2A194
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a6ac2c;
/* rgb */ color: rgb(166, 172, 44);
/* oklch */ color: oklch(71.7% 0.144 112.2);
Tailwind
colors: {
  custom: {
    50: '#c4c46f',
    500: '#a6ac2c',
    950: '#000000',
  },
}
SCSS
$custom: #a6ac2c;
$custom-light: #c4c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ac2c",
  "rgb": {
    "r": 166,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 62.813,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71698,
    "c": 0.14435,
    "h": 112.2
  },
  "luminance": 0.37794
}

Semantic roles & 50–950 ramp

primary
#A6AC2C
secondary
#7470C4
accent
#45E24D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6AC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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