#A6AC2D#A6AC2D

#A6AC2D 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#A6AC2D
RGBrgb(166, 172, 45)
HSLhsl(63, 59%, 43%)
HSVhsv(63, 74%, 67%)
CMYKcmyk(3.5%, 0%, 73.8%, 32.5%)
CIE-LABlab(67.87, -17.53, 60.33)
CIE-LCHlch(67.87, 62.83, 106.20°)
OKLaboklab(71.7% -0.0544 0.1331)
OKLCHoklch(71.7% 0.144 112.2)
XYZxyz(30.9531, 37.8022, 8.1481)
Luminance0.3780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AC2D #332DAC
analogous
#AC732D #A6AC2D #66AC2D
triadic
#A6AC2D #2DA6AC #AC2DA6
tetradic
#A6AC2D #2DAC73 #332DAC #AC2D66
square
#A6AC2D #2DAC73 #332DAC #AC2D66
split-complementary
#A6AC2D #2D66AC #732DAC
monochromatic
#484B14 #777B20 #A6AC2D #C9CF47 #D7DC78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6AC2D#FFFFFF#000000##000000
##A6AC2D1.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)
#B9A412
Deuteranopia (green-blind)
#BAA737
Tritanopia (blue-blind)
#B1A194
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a6ac2d;
/* rgb */ color: rgb(166, 172, 45);
/* oklch */ color: oklch(71.7% 0.144 112.2);
Tailwind
colors: {
  custom: {
    50: '#c4c470',
    500: '#a6ac2d',
    950: '#000000',
  },
}
SCSS
$custom: #a6ac2d;
$custom-light: #c4c470;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ac2d",
  "rgb": {
    "r": 166,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 62.835,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.71704,
    "c": 0.14377,
    "h": 112.2
  },
  "luminance": 0.37802
}

Semantic roles & 50–950 ramp

primary
#A6AC2D
secondary
#7571C4
accent
#46E24D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6AC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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