#A6AE2C#A6AE2C

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

Color values

HEX#A6AE2C
RGBrgb(166, 174, 44)
HSLhsl(64, 60%, 43%)
HSVhsv(64, 75%, 68%)
CMYKcmyk(4.6%, 0%, 74.7%, 31.8%)
CIE-LABlab(68.43, -18.59, 61.20)
CIE-LCHlch(68.43, 63.96, 106.90°)
OKLaboklab(72.15% -0.0575 0.1347)
OKLCHoklch(72.15% 0.146 113.1)
XYZxyz(31.3175, 38.5616, 8.1758)
Luminance0.3856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AE2C #342CAE
analogous
#AE752C #A6AE2C #65AE2C
triadic
#A6AE2C #2CA6AE #AE2CA6
tetradic
#A6AE2C #2CAE75 #342CAE #AE2C65
square
#A6AE2C #2CAE75 #342CAE #AE2C65
split-complementary
#A6AE2C #2C65AE #752CAE
monochromatic
#494C13 #777D20 #A6AE2C #C8D047 #D7DD78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6AE2C#FFFFFF#000000##000000
##A6AE2C1.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)
#BBA60F
Deuteranopia (green-blind)
#BBA837
Tritanopia (blue-blind)
#B1A395
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a6ae2c;
/* rgb */ color: rgb(166, 174, 44);
/* oklch */ color: oklch(72.1% 0.146 113.1);
Tailwind
colors: {
  custom: {
    50: '#c4c66f',
    500: '#a6ae2c',
    950: '#000000',
  },
}
SCSS
$custom: #a6ae2c;
$custom-light: #c4c66f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ae2c",
  "rgb": {
    "r": 166,
    "g": 174,
    "b": 44
  },
  "hsl": {
    "h": 63.692,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72149,
    "c": 0.14647,
    "h": 113.1
  },
  "luminance": 0.38561
}

Semantic roles & 50–950 ramp

primary
#A6AE2C
secondary
#7671C5
accent
#45E34F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6AE2C

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

Preview Lab → · Contrast checker → · Palette generator →

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