#A6A41F#A6A41F

#A6A41F is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.8% C 0.143 H 108.7°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#A6A41F
RGBrgb(166, 164, 31)
HSLhsl(59, 69%, 39%)
HSVhsv(59, 81%, 65%)
CMYKcmyk(0%, 1.2%, 81.3%, 34.9%)
CIE-LABlab(65.56, -13.98, 62.60)
CIE-LCHlch(65.56, 64.14, 102.59°)
OKLaboklab(69.83% -0.0457 0.1353)
OKLCHoklch(69.83% 0.143 108.7)
XYZxyz(29.2498, 34.7578, 6.4642)
Luminance0.3476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A41F #1F21A6
analogous
#A6601F #A6A41F #64A61F
triadic
#A6A41F #1FA6A4 #A41FA6
tetradic
#A6A41F #1FA660 #1F21A6 #A61F64
square
#A6A41F #1FA660 #1F21A6 #A61F64
split-complementary
#A6A41F #1F64A6 #601FA6
monochromatic
#3F3E0C #727115 #A6A41F #D7D52B #E1DF5E

Accessibility & contrast

On white

2.64
#A6A41F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#A6A41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A41F
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A41F#FFFFFF#000000##000000
##A6A41F1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B4A12C
Tritanopia (blue-blind)
#B2998C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a6a41f;
/* rgb */ color: rgb(166, 164, 31);
/* oklch */ color: oklch(69.8% 0.143 108.7);
Tailwind
colors: {
  custom: {
    50: '#c4be68',
    500: '#a6a41f',
    950: '#000000',
  },
}
SCSS
$custom: #a6a41f;
$custom-light: #c4be68;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a41f",
  "rgb": {
    "r": 166,
    "g": 164,
    "b": 31
  },
  "hsl": {
    "h": 59.111,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.69831,
    "c": 0.14284,
    "h": 108.7
  },
  "luminance": 0.34757
}

Semantic roles & 50–950 ramp

primary
#A6A41F
secondary
#5B5DC5
accent
#3FEB3C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A41F

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

Preview Lab → · Contrast checker → · Palette generator →

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