#A6AE1F#A6AE1F

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

Color values

HEX#A6AE1F
RGBrgb(166, 174, 31)
HSLhsl(63, 70%, 40%)
HSVhsv(63, 82%, 68%)
CMYKcmyk(4.6%, 0%, 82.2%, 31.8%)
CIE-LABlab(68.37, -19.09, 65.03)
CIE-LCHlch(68.37, 67.77, 106.36°)
OKLaboklab(72.08% -0.0599 0.1406)
OKLCHoklch(72.08% 0.153 113.1)
XYZxyz(31.1103, 38.4787, 7.0844)
Luminance0.3848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AE1F #271FAE
analogous
#AE6F1F #A6AE1F #5EAE1F
triadic
#A6AE1F #1FA6AE #AE1FA6
tetradic
#A6AE1F #1FAE6F #271FAE #AE1F5E
square
#A6AE1F #1FAE6F #271FAE #AE1F5E
split-complementary
#A6AE1F #1F5EAE #6F1FAE
monochromatic
#43460C #747A16 #A6AE1F #D1DA30 #DCE364

Accessibility & contrast

On white

2.42
#A6AE1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#A6AE1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AE1F
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AE1F#FFFFFF#000000##000000
##A6AE1F1.002.428.708.70
#FFFFFF2.421.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA500
Deuteranopia (green-blind)
#BCA82E
Tritanopia (blue-blind)
#B2A395
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a6ae1f;
/* rgb */ color: rgb(166, 174, 31);
/* oklch */ color: oklch(72.1% 0.153 113.1);
Tailwind
colors: {
  custom: {
    50: '#c4c56a',
    500: '#a6ae1f',
    950: '#000000',
  },
}
SCSS
$custom: #a6ae1f;
$custom-light: #c4c56a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ae1f",
  "rgb": {
    "r": 166,
    "g": 174,
    "b": 31
  },
  "hsl": {
    "h": 63.357,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.72082,
    "c": 0.15279,
    "h": 113.1
  },
  "luminance": 0.38478
}

Semantic roles & 50–950 ramp

primary
#A6AE1F
secondary
#6660C8
accent
#3BED45
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6AE1F

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

Preview Lab → · Contrast checker → · Palette generator →

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