#A6A62A#A6A62A

#A6A62A is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.3% C 0.139 H 109.5°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#A6A62A
RGBrgb(166, 166, 42)
HSLhsl(60, 60%, 41%)
HSVhsv(60, 75%, 65%)
CMYKcmyk(0%, 0%, 74.7%, 34.9%)
CIE-LABlab(66.17, -14.59, 59.76)
CIE-LCHlch(66.17, 61.51, 103.72°)
OKLaboklab(70.34% -0.0465 0.1313)
OKLCHoklch(70.34% 0.139 109.5)
XYZxyz(29.7811, 35.5475, 7.4826)
Luminance0.3555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A62A #2A2AA6
analogous
#A6682A #A6A62A #68A62A
triadic
#A6A62A #2AA6A6 #A62AA6
tetradic
#A6A62A #2AA668 #2A2AA6 #A62A68
square
#A6A62A #2AA668 #2A2AA6 #A62A68
split-complementary
#A6A62A #2A68A6 #682AA6
monochromatic
#444411 #75751E #A6A62A #CECE3F #DBDB70

Accessibility & contrast

On white

2.59
#A6A62A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#A6A62A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A62A
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A62A#FFFFFF#000000##000000
##A6A62A1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F0E
Deuteranopia (green-blind)
#B5A334
Tritanopia (blue-blind)
#B29B8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a6a62a;
/* rgb */ color: rgb(166, 166, 42);
/* oklch */ color: oklch(70.3% 0.139 109.5);
Tailwind
colors: {
  custom: {
    50: '#c4c06d',
    500: '#a6a62a',
    950: '#000000',
  },
}
SCSS
$custom: #a6a62a;
$custom-light: #c4c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a62a",
  "rgb": {
    "r": 166,
    "g": 166,
    "b": 42
  },
  "hsl": {
    "h": 60,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70338,
    "c": 0.1393,
    "h": 109.5
  },
  "luminance": 0.35547
}

Semantic roles & 50–950 ramp

primary
#A6A62A
secondary
#6A6AC2
accent
#45E345
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A62A

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

Preview Lab → · Contrast checker → · Palette generator →

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