#A6AE2F#A6AE2F

#A6AE2F 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#A6AE2F
RGBrgb(166, 174, 47)
HSLhsl(64, 57%, 43%)
HSVhsv(64, 73%, 68%)
CMYKcmyk(4.6%, 0%, 73%, 31.8%)
CIE-LABlab(68.45, -18.45, 60.18)
CIE-LCHlch(68.45, 62.94, 107.04°)
OKLaboklab(72.17% -0.0568 0.1331)
OKLCHoklch(72.17% 0.145 113.1)
XYZxyz(31.3760, 38.5850, 8.4836)
Luminance0.3858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AE2F #372FAE
analogous
#AE772F #A6AE2F #66AE2F
triadic
#A6AE2F #2FA6AE #AE2FA6
tetradic
#A6AE2F #2FAE77 #372FAE #AE2F66
square
#A6AE2F #2FAE77 #372FAE #AE2F66
split-complementary
#A6AE2F #2F66AE #772FAE
monochromatic
#4A4E15 #787E22 #A6AE2F #C6CF4C #D6DC7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6AE2F#FFFFFF#000000##000000
##A6AE2F1.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)
#BBA616
Deuteranopia (green-blind)
#BBA839
Tritanopia (blue-blind)
#B1A396
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a6ae2f;
/* rgb */ color: rgb(166, 174, 47);
/* oklch */ color: oklch(72.2% 0.145 113.1);
Tailwind
colors: {
  custom: {
    50: '#c4c671',
    500: '#a6ae2f',
    950: '#000000',
  },
}
SCSS
$custom: #a6ae2f;
$custom-light: #c4c671;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ae2f",
  "rgb": {
    "r": 166,
    "g": 174,
    "b": 47
  },
  "hsl": {
    "h": 63.78,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72168,
    "c": 0.14472,
    "h": 113.1
  },
  "luminance": 0.38584
}

Semantic roles & 50–950 ramp

primary
#A6AE2F
secondary
#7A75C4
accent
#47E151
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6AE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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