#A6AC31#A6AC31

#A6AC31 is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.7% C 0.141 H 112.2°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#A6AC31
RGBrgb(166, 172, 49)
HSLhsl(63, 56%, 43%)
HSVhsv(63, 72%, 67%)
CMYKcmyk(3.5%, 0%, 71.5%, 32.5%)
CIE-LABlab(67.90, -17.33, 58.93)
CIE-LCHlch(67.90, 61.43, 106.39°)
OKLaboklab(71.73% -0.0535 0.1308)
OKLCHoklch(71.73% 0.141 112.2)
XYZxyz(31.0338, 37.8345, 8.5731)
Luminance0.3783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AC31 #3731AC
analogous
#AC7431 #A6AC31 #68AC31
triadic
#A6AC31 #31A6AC #AC31A6
tetradic
#A6AC31 #31AC74 #3731AC #AC3168
square
#A6AC31 #31AC74 #3731AC #AC3168
split-complementary
#A6AC31 #3168AC #7431AC
monochromatic
#4A4D16 #787C23 #A6AC31 #C6CC4E #D6DA7D

Accessibility & contrast

On white

2.45
#A6AC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#A6AC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AC31
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AC31#FFFFFF#000000##000000
##A6AC311.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41B
Deuteranopia (green-blind)
#BAA73A
Tritanopia (blue-blind)
#B1A194
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a6ac31;
/* rgb */ color: rgb(166, 172, 49);
/* oklch */ color: oklch(71.7% 0.141 112.2);
Tailwind
colors: {
  custom: {
    50: '#c4c472',
    500: '#a6ac31',
    950: '#000000',
  },
}
SCSS
$custom: #a6ac31;
$custom-light: #c4c472;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ac31",
  "rgb": {
    "r": 166,
    "g": 172,
    "b": 49
  },
  "hsl": {
    "h": 62.927,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71731,
    "c": 0.14134,
    "h": 112.2
  },
  "luminance": 0.37834
}

Semantic roles & 50–950 ramp

primary
#A6AC31
secondary
#7A76C3
accent
#49DF50
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6AC31

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

Preview Lab → · Contrast checker → · Palette generator →

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