#A6AA33#A6AA33

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

Color values

HEX#A6AA33
RGBrgb(166, 170, 51)
HSLhsl(62, 54%, 43%)
HSVhsv(62, 70%, 67%)
CMYKcmyk(2.4%, 0%, 70%, 33.3%)
CIE-LABlab(67.35, -16.21, 57.65)
CIE-LCHlch(67.35, 59.88, 105.70°)
OKLaboklab(71.3% -0.0502 0.1285)
OKLCHoklch(71.3% 0.138 111.3)
XYZxyz(30.6991, 37.0962, 8.6745)
Luminance0.3710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AA33 #3733AA
analogous
#AA7233 #A6AA33 #6AAA33
triadic
#A6AA33 #33A6AA #AA33A6
tetradic
#A6AA33 #33AA72 #3733AA #AA336A
square
#A6AA33 #33AA72 #3733AA #AA336A
split-complementary
#A6AA33 #336AAA #7233AA
monochromatic
#4A4C17 #787B25 #A6AA33 #C6CA50 #D6D97F

Accessibility & contrast

On white

2.49
#A6AA33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#A6AA33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AA33
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AA33#FFFFFF#000000##000000
##A6AA331.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21F
Deuteranopia (green-blind)
#B8A53C
Tritanopia (blue-blind)
#B1A093
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a6aa33;
/* rgb */ color: rgb(166, 170, 51);
/* oklch */ color: oklch(71.3% 0.138 111.3);
Tailwind
colors: {
  custom: {
    50: '#c4c372',
    500: '#a6aa33',
    950: '#000000',
  },
}
SCSS
$custom: #a6aa33;
$custom-light: #c4c372;
$custom-dark: #000000;
JSON
{
  "hex": "#a6aa33",
  "rgb": {
    "r": 166,
    "g": 170,
    "b": 51
  },
  "hsl": {
    "h": 62.017,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71296,
    "c": 0.13792,
    "h": 111.3
  },
  "luminance": 0.37095
}

Semantic roles & 50–950 ramp

primary
#A6AA33
secondary
#7A77C2
accent
#4BDD50
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6AA33

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

Preview Lab → · Contrast checker → · Palette generator →

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