#A6A71D#A6A71D

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

Color values

HEX#A6A71D
RGBrgb(166, 167, 29)
HSLhsl(60, 70%, 38%)
HSVhsv(60, 83%, 65%)
CMYKcmyk(0.6%, 0%, 82.6%, 34.5%)
CIE-LABlab(66.39, -15.59, 63.85)
CIE-LCHlch(66.39, 65.72, 103.72°)
OKLaboklab(70.49% -0.0503 0.1377)
OKLCHoklch(70.49% 0.147 110.1)
XYZxyz(29.7675, 35.8340, 6.5108)
Luminance0.3583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A71D #1E1DA7
analogous
#A7631D #A6A71D #61A71D
triadic
#A6A71D #1DA6A7 #A71DA6
tetradic
#A6A71D #1DA763 #1E1DA7 #A71D61
square
#A6A71D #1DA763 #1E1DA7 #A71D61
split-complementary
#A6A71D #1D61A7 #631DA7
monochromatic
#3E3F0B #727314 #A6A71D #D8DA28 #E2E35C

Accessibility & contrast

On white

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

On black

8.17
#A6A71D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A71D
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A71D#FFFFFF#000000##000000
##A6A71D1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B6A32B
Tritanopia (blue-blind)
#B29C8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a6a71d;
/* rgb */ color: rgb(166, 167, 29);
/* oklch */ color: oklch(70.5% 0.147 110.1);
Tailwind
colors: {
  custom: {
    50: '#c4c068',
    500: '#a6a71d',
    950: '#000000',
  },
}
SCSS
$custom: #a6a71d;
$custom-light: #c4c068;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a71d",
  "rgb": {
    "r": 166,
    "g": 167,
    "b": 29
  },
  "hsl": {
    "h": 60.435,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.70495,
    "c": 0.14658,
    "h": 110.1
  },
  "luminance": 0.35833
}

Semantic roles & 50–950 ramp

primary
#A6A71D
secondary
#5A59C7
accent
#3BED3C
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A71D

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

Preview Lab → · Contrast checker → · Palette generator →

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