#A6AA2B#A6AA2B

#A6AA2B is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.2% C 0.143 H 111.4°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#A6AA2B
RGBrgb(166, 170, 43)
HSLhsl(62, 60%, 42%)
HSVhsv(62, 75%, 67%)
CMYKcmyk(2.4%, 0%, 74.7%, 33.3%)
CIE-LABlab(67.30, -16.60, 60.47)
CIE-LCHlch(67.30, 62.71, 105.35°)
OKLaboklab(71.24% -0.052 0.133)
OKLCHoklch(71.24% 0.143 111.4)
XYZxyz(30.5377, 37.0317, 7.8242)
Luminance0.3703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AA2B #2F2BAA
analogous
#AA6F2B #A6AA2B #67AA2B
triadic
#A6AA2B #2BA6AA #AA2BA6
tetradic
#A6AA2B #2BAA6F #2F2BAA #AA2B67
square
#A6AA2B #2BAA6F #2F2BAA #AA2B67
split-complementary
#A6AA2B #2B67AA #6F2BAA
monochromatic
#474812 #76791F #A6AA2B #CBCF43 #D8DC74

Accessibility & contrast

On white

2.50
#A6AA2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#A6AA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AA2B
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AA2B#FFFFFF#000000##000000
##A6AA2B1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A20F
Deuteranopia (green-blind)
#B8A535
Tritanopia (blue-blind)
#B29F92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a6aa2b;
/* rgb */ color: rgb(166, 170, 43);
/* oklch */ color: oklch(71.2% 0.143 111.4);
Tailwind
colors: {
  custom: {
    50: '#c4c36e',
    500: '#a6aa2b',
    950: '#000000',
  },
}
SCSS
$custom: #a6aa2b;
$custom-light: #c4c36e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6aa2b",
  "rgb": {
    "r": 166,
    "g": 170,
    "b": 43
  },
  "hsl": {
    "h": 61.89,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71242,
    "c": 0.14282,
    "h": 111.4
  },
  "luminance": 0.37031
}

Semantic roles & 50–950 ramp

primary
#A6AA2B
secondary
#706EC3
accent
#45E34A
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6AA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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