#A6AA1D#A6AA1D

#A6AA1D 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#A6AA1D
RGBrgb(166, 170, 29)
HSLhsl(62, 71%, 39%)
HSVhsv(62, 83%, 67%)
CMYKcmyk(2.4%, 0%, 82.9%, 33.3%)
CIE-LABlab(67.24, -17.13, 64.57)
CIE-LCHlch(67.24, 66.80, 104.86°)
OKLaboklab(71.17% -0.0546 0.1392)
OKLCHoklch(71.17% 0.15 111.4)
XYZxyz(30.3235, 36.9460, 6.6961)
Luminance0.3695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AA1D #211DAA
analogous
#AA681D #A6AA1D #60AA1D
triadic
#A6AA1D #1DA6AA #AA1DA6
tetradic
#A6AA1D #1DAA68 #211DAA #AA1D60
square
#A6AA1D #1DAA68 #211DAA #AA1D60
split-complementary
#A6AA1D #1D60AA #681DAA
monochromatic
#40410B #737614 #A6AA1D #D6DB2A #E0E45E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6AA1D#FFFFFF#000000##000000
##A6AA1D1.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: #a6aa1d;
/* rgb */ color: rgb(166, 170, 29);
/* oklch */ color: oklch(71.2% 0.150 111.4);
Tailwind
colors: {
  custom: {
    50: '#c4c369',
    500: '#a6aa1d',
    950: '#000000',
  },
}
SCSS
$custom: #a6aa1d;
$custom-light: #c4c369;
$custom-dark: #000000;
JSON
{
  "hex": "#a6aa1d",
  "rgb": {
    "r": 166,
    "g": 170,
    "b": 29
  },
  "hsl": {
    "h": 61.702,
    "s": 70.854,
    "l": 39.02
  },
  "oklch": {
    "l": 0.7117,
    "c": 0.14955,
    "h": 111.4
  },
  "luminance": 0.36945
}

Semantic roles & 50–950 ramp

primary
#A6AA1D
secondary
#5E5BC8
accent
#3AEE3F
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A6AA1D

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

Preview Lab → · Contrast checker → · Palette generator →

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