#A6A641#A6A641

#A6A641 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.5% C 0.123 H 109.2°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#A6A641
RGBrgb(166, 166, 65)
HSLhsl(60, 44%, 45%)
HSVhsv(60, 61%, 65%)
CMYKcmyk(0%, 0%, 60.8%, 34.9%)
CIE-LABlab(66.34, -13.28, 50.82)
CIE-LCHlch(66.34, 52.52, 104.64°)
OKLaboklab(70.52% -0.0404 0.1163)
OKLCHoklch(70.52% 0.123 109.2)
XYZxyz(30.3171, 35.7619, 10.3057)
Luminance0.3576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A641 #4141A6
analogous
#A67341 #A6A641 #73A641
triadic
#A6A641 #41A6A6 #A641A6
tetradic
#A6A641 #41A673 #4141A6 #A64173
square
#A6A641 #41A673 #4141A6 #A64173
split-complementary
#A6A641 #4173A6 #7341A6
monochromatic
#4E4E1F #7A7A30 #A6A641 #C2C262 #D3D38E

Accessibility & contrast

On white

2.58
#A6A641 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#A6A641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A641
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A641#FFFFFF#000000##000000
##A6A6411.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F35
Deuteranopia (green-blind)
#B4A347
Tritanopia (blue-blind)
#B19C91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a6a641;
/* rgb */ color: rgb(166, 166, 65);
/* oklch */ color: oklch(70.5% 0.123 109.2);
Tailwind
colors: {
  custom: {
    50: '#c3c07a',
    500: '#a6a641',
    950: '#000000',
  },
}
SCSS
$custom: #a6a641;
$custom-light: #c3c07a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a641",
  "rgb": {
    "r": 166,
    "g": 166,
    "b": 65
  },
  "hsl": {
    "h": 60,
    "s": 43.723,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70522,
    "c": 0.12308,
    "h": 109.2
  },
  "luminance": 0.35761
}

Semantic roles & 50–950 ramp

primary
#A6A641
secondary
#8585BE
accent
#54D354
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A6A641

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

Preview Lab → · Contrast checker → · Palette generator →

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