#A6AE2A#A6AE2A

#A6AE2A is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.1% C 0.148 H 113.1°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#A6AE2A
RGBrgb(166, 174, 42)
HSLhsl(64, 61%, 42%)
HSVhsv(64, 76%, 68%)
CMYKcmyk(4.6%, 0%, 75.9%, 31.8%)
CIE-LABlab(68.42, -18.68, 61.85)
CIE-LCHlch(68.42, 64.61, 106.80°)
OKLaboklab(72.14% -0.0579 0.1358)
OKLCHoklch(72.14% 0.148 113.1)
XYZxyz(31.2808, 38.5470, 7.9825)
Luminance0.3855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AE2A #322AAE
analogous
#AE742A #A6AE2A #64AE2A
triadic
#A6AE2A #2AA6AE #AE2AA6
tetradic
#A6AE2A #2AAE74 #322AAE #AE2A64
square
#A6AE2A #2AAE74 #322AAE #AE2A64
split-complementary
#A6AE2A #2A64AE #742AAE
monochromatic
#484B12 #777D1E #A6AE2A #C9D243 #D7DE75

Accessibility & contrast

On white

2.41
#A6AE2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#A6AE2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AE2A
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AE2A#FFFFFF#000000##000000
##A6AE2A1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA508
Deuteranopia (green-blind)
#BBA835
Tritanopia (blue-blind)
#B1A395
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a6ae2a;
/* rgb */ color: rgb(166, 174, 42);
/* oklch */ color: oklch(72.1% 0.148 113.1);
Tailwind
colors: {
  custom: {
    50: '#c4c66e',
    500: '#a6ae2a',
    950: '#000000',
  },
}
SCSS
$custom: #a6ae2a;
$custom-light: #c4c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ae2a",
  "rgb": {
    "r": 166,
    "g": 174,
    "b": 42
  },
  "hsl": {
    "h": 63.636,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72137,
    "c": 0.14757,
    "h": 113.1
  },
  "luminance": 0.38546
}

Semantic roles & 50–950 ramp

primary
#A6AE2A
secondary
#746FC5
accent
#44E44D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6AE2A

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

Preview Lab → · Contrast checker → · Palette generator →

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