#A6A72A#A6A72A

#A6A72A is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.6% C 0.140 H 110.0°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#A6A72A
RGBrgb(166, 167, 42)
HSLhsl(60, 60%, 41%)
HSVhsv(60, 75%, 65%)
CMYKcmyk(0.6%, 0%, 74.9%, 34.5%)
CIE-LABlab(66.45, -15.11, 60.02)
CIE-LCHlch(66.45, 61.89, 104.13°)
OKLaboklab(70.56% -0.0479 0.1319)
OKLCHoklch(70.56% 0.14 110)
XYZxyz(29.9636, 35.9125, 7.5435)
Luminance0.3591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A72A #2B2AA7
analogous
#A7692A #A6A72A #67A72A
triadic
#A6A72A #2AA6A7 #A72AA6
tetradic
#A6A72A #2AA769 #2B2AA7 #A72A67
square
#A6A72A #2AA769 #2B2AA7 #A72A67
split-complementary
#A6A72A #2A67A7 #692AA7
monochromatic
#454511 #75761E #A6A72A #CECF3F #DADB70

Accessibility & contrast

On white

2.57
#A6A72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#A6A72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A72A
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A72A#FFFFFF#000000##000000
##A6A72A1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A00E
Deuteranopia (green-blind)
#B6A334
Tritanopia (blue-blind)
#B29C8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a6a72a;
/* rgb */ color: rgb(166, 167, 42);
/* oklch */ color: oklch(70.6% 0.140 110.0);
Tailwind
colors: {
  custom: {
    50: '#c4c06e',
    500: '#a6a72a',
    950: '#000000',
  },
}
SCSS
$custom: #a6a72a;
$custom-light: #c4c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a72a",
  "rgb": {
    "r": 166,
    "g": 167,
    "b": 42
  },
  "hsl": {
    "h": 60.48,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70562,
    "c": 0.14031,
    "h": 110
  },
  "luminance": 0.35912
}

Semantic roles & 50–950 ramp

primary
#A6A72A
secondary
#6B6BC2
accent
#45E346
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A72A

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

Preview Lab → · Contrast checker → · Palette generator →

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