#A6AE31#A6AE31

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

Color values

HEX#A6AE31
RGBrgb(166, 174, 49)
HSLhsl(64, 56%, 44%)
HSVhsv(64, 72%, 68%)
CMYKcmyk(4.6%, 0%, 71.8%, 31.8%)
CIE-LABlab(68.46, -18.35, 59.48)
CIE-LCHlch(68.46, 62.24, 107.14°)
OKLaboklab(72.18% -0.0563 0.132)
OKLCHoklch(72.18% 0.144 113.1)
XYZxyz(31.4173, 38.6015, 8.7010)
Luminance0.3860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AE31 #3931AE
analogous
#AE7731 #A6AE31 #67AE31
triadic
#A6AE31 #31A6AE #AE31A6
tetradic
#A6AE31 #31AE77 #3931AE #AE3167
square
#A6AE31 #31AE77 #3931AE #AE3167
split-complementary
#A6AE31 #3167AE #7731AE
monochromatic
#4B4E16 #787E24 #A6AE31 #C5CD4F #D5DB7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6AE31#FFFFFF#000000##000000
##A6AE311.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)
#BBA61A
Deuteranopia (green-blind)
#BBA83B
Tritanopia (blue-blind)
#B1A396
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a6ae31;
/* rgb */ color: rgb(166, 174, 49);
/* oklch */ color: oklch(72.2% 0.143 113.1);
Tailwind
colors: {
  custom: {
    50: '#c4c672',
    500: '#a6ae31',
    950: '#000000',
  },
}
SCSS
$custom: #a6ae31;
$custom-light: #c4c672;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ae31",
  "rgb": {
    "r": 166,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 63.84,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72182,
    "c": 0.1435,
    "h": 113.1
  },
  "luminance": 0.38601
}

Semantic roles & 50–950 ramp

primary
#A6AE31
secondary
#7C77C4
accent
#48DF52
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6AE31

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

Preview Lab → · Contrast checker → · Palette generator →

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