#A6AA1C#A6AA1C

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

Color values

HEX#A6AA1C
RGBrgb(166, 170, 28)
HSLhsl(62, 72%, 39%)
HSVhsv(62, 84%, 67%)
CMYKcmyk(2.4%, 0%, 83.5%, 33.3%)
CIE-LABlab(67.23, -17.16, 64.81)
CIE-LCHlch(67.23, 67.05, 104.83°)
OKLaboklab(71.17% -0.0547 0.1396)
OKLCHoklch(71.17% 0.15 111.4)
XYZxyz(30.3113, 36.9411, 6.6320)
Luminance0.3694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AA1C #201CAA
analogous
#AA671C #A6AA1C #5FAA1C
triadic
#A6AA1C #1CA6AA #AA1CA6
tetradic
#A6AA1C #1CAA67 #201CAA #AA1C5F
square
#A6AA1C #1CAA67 #201CAA #AA1C5F
split-complementary
#A6AA1C #1C5FAA #671CAA
monochromatic
#3F410B #737513 #A6AA1C #D6DC28 #E0E45C

Accessibility & contrast

On white

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

On black

8.39
#A6AA1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AA1C
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AA1C#FFFFFF#000000##000000
##A6AA1C1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B9A52B
Tritanopia (blue-blind)
#B29F91
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a6aa1c;
/* rgb */ color: rgb(166, 170, 28);
/* oklch */ color: oklch(71.2% 0.150 111.4);
Tailwind
colors: {
  custom: {
    50: '#c4c368',
    500: '#a6aa1c',
    950: '#000000',
  },
}
SCSS
$custom: #a6aa1c;
$custom-light: #c4c368;
$custom-dark: #000000;
JSON
{
  "hex": "#a6aa1c",
  "rgb": {
    "r": 166,
    "g": 170,
    "b": 28
  },
  "hsl": {
    "h": 61.69,
    "s": 71.717,
    "l": 38.824
  },
  "oklch": {
    "l": 0.71166,
    "c": 0.14994,
    "h": 111.4
  },
  "luminance": 0.3694
}

Semantic roles & 50–950 ramp

primary
#A6AA1C
secondary
#5D5AC8
accent
#39EE3E
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A6AA1C

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

Preview Lab → · Contrast checker → · Palette generator →

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