#A6AC2B#A6AC2B

#A6AC2B 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#A6AC2B
RGBrgb(166, 172, 43)
HSLhsl(63, 60%, 42%)
HSVhsv(63, 75%, 67%)
CMYKcmyk(3.5%, 0%, 75%, 32.5%)
CIE-LABlab(67.86, -17.62, 61.00)
CIE-LCHlch(67.86, 63.49, 106.11°)
OKLaboklab(71.69% -0.0549 0.1341)
OKLCHoklch(71.69% 0.145 112.2)
XYZxyz(30.9155, 37.7872, 7.9501)
Luminance0.3779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AC2B #312BAC
analogous
#AC722B #A6AC2B #65AC2B
triadic
#A6AC2B #2BA6AC #AC2BA6
tetradic
#A6AC2B #2BAC72 #312BAC #AC2B65
square
#A6AC2B #2BAC72 #312BAC #AC2B65
split-complementary
#A6AC2B #2B65AC #722BAC
monochromatic
#474A13 #777B1F #A6AC2B #CAD044 #D8DC75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6AC2B#FFFFFF#000000##000000
##A6AC2B1.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)
#B9A40D
Deuteranopia (green-blind)
#BAA736
Tritanopia (blue-blind)
#B2A194
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a6ac2b;
/* rgb */ color: rgb(166, 172, 43);
/* oklch */ color: oklch(71.7% 0.145 112.2);
Tailwind
colors: {
  custom: {
    50: '#c4c46f',
    500: '#a6ac2b',
    950: '#000000',
  },
}
SCSS
$custom: #a6ac2b;
$custom-light: #c4c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ac2b",
  "rgb": {
    "r": 166,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 62.791,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71692,
    "c": 0.14492,
    "h": 112.2
  },
  "luminance": 0.37786
}

Semantic roles & 50–950 ramp

primary
#A6AC2B
secondary
#736FC4
accent
#45E34C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6AC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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