#A6AE2E#A6AE2E

#A6AE2E is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.2% C 0.145 H 113.1°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#A6AE2E
RGBrgb(166, 174, 46)
HSLhsl(64, 58%, 43%)
HSVhsv(64, 74%, 68%)
CMYKcmyk(4.6%, 0%, 73.6%, 31.8%)
CIE-LABlab(68.44, -18.50, 60.52)
CIE-LCHlch(68.44, 63.29, 106.99°)
OKLaboklab(72.16% -0.057 0.1337)
OKLCHoklch(72.16% 0.145 113.1)
XYZxyz(31.3560, 38.5770, 8.3786)
Luminance0.3858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AE2E #362EAE
analogous
#AE762E #A6AE2E #66AE2E
triadic
#A6AE2E #2EA6AE #AE2EA6
tetradic
#A6AE2E #2EAE76 #362EAE #AE2E66
square
#A6AE2E #2EAE76 #362EAE #AE2E66
split-complementary
#A6AE2E #2E66AE #762EAE
monochromatic
#4A4D14 #787E21 #A6AE2E #C7CF4A #D6DC7A

Accessibility & contrast

On white

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

On black

8.72
#A6AE2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AE2E
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AE2E#FFFFFF#000000##000000
##A6AE2E1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6ae2e;
/* rgb */ color: rgb(166, 174, 46);
/* oklch */ color: oklch(72.2% 0.145 113.1);
Tailwind
colors: {
  custom: {
    50: '#c4c670',
    500: '#a6ae2e',
    950: '#000000',
  },
}
SCSS
$custom: #a6ae2e;
$custom-light: #c4c670;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ae2e",
  "rgb": {
    "r": 166,
    "g": 174,
    "b": 46
  },
  "hsl": {
    "h": 63.75,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72162,
    "c": 0.14532,
    "h": 113.1
  },
  "luminance": 0.38576
}

Semantic roles & 50–950 ramp

primary
#A6AE2E
secondary
#7974C4
accent
#46E150
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6AE2E

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

Preview Lab → · Contrast checker → · Palette generator →

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