#A6AA2F#A6AA2F

#A6AA2F is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.3% C 0.140 H 111.3°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#A6AA2F
RGBrgb(166, 170, 47)
HSLhsl(62, 57%, 43%)
HSVhsv(62, 72%, 67%)
CMYKcmyk(2.4%, 0%, 72.4%, 33.3%)
CIE-LABlab(67.32, -16.41, 59.10)
CIE-LCHlch(67.32, 61.34, 105.52°)
OKLaboklab(71.27% -0.0511 0.1308)
OKLCHoklch(71.27% 0.14 111.3)
XYZxyz(30.6147, 37.0625, 8.2298)
Luminance0.3706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AA2F #332FAA
analogous
#AA702F #A6AA2F #69AA2F
triadic
#A6AA2F #2FA6AA #AA2FA6
tetradic
#A6AA2F #2FAA70 #332FAA #AA2F69
square
#A6AA2F #2FAA70 #332FAA #AA2F69
split-complementary
#A6AA2F #2F69AA #702FAA
monochromatic
#484A14 #777A22 #A6AA2F #C9CD49 #D7DA79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6AA2F#FFFFFF#000000##000000
##A6AA2F1.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)
#B7A218
Deuteranopia (green-blind)
#B8A539
Tritanopia (blue-blind)
#B29F92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a6aa2f;
/* rgb */ color: rgb(166, 170, 47);
/* oklch */ color: oklch(71.3% 0.140 111.3);
Tailwind
colors: {
  custom: {
    50: '#c4c370',
    500: '#a6aa2f',
    950: '#000000',
  },
}
SCSS
$custom: #a6aa2f;
$custom-light: #c4c370;
$custom-dark: #000000;
JSON
{
  "hex": "#a6aa2f",
  "rgb": {
    "r": 166,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 61.951,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.71267,
    "c": 0.14047,
    "h": 111.3
  },
  "luminance": 0.37062
}

Semantic roles & 50–950 ramp

primary
#A6AA2F
secondary
#7572C2
accent
#48E04D
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6AA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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