#A6A02A#A6A02A

#A6A02A is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.0% C 0.133 H 106.4°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#A6A02A
RGBrgb(166, 160, 42)
HSLhsl(57, 60%, 41%)
HSVhsv(57, 75%, 65%)
CMYKcmyk(0%, 3.6%, 74.7%, 34.9%)
CIE-LABlab(64.50, -11.47, 58.18)
CIE-LCHlch(64.50, 59.30, 101.15°)
OKLaboklab(69% -0.0378 0.128)
OKLCHoklch(69% 0.133 106.4)
XYZxyz(28.7158, 33.4168, 7.1275)
Luminance0.3342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A02A #2A30A6
analogous
#A6622A #A6A02A #6EA62A
triadic
#A6A02A #2AA6A0 #A02AA6
tetradic
#A6A02A #2AA662 #2A30A6 #A62A6E
square
#A6A02A #2AA662 #2A30A6 #A62A6E
split-complementary
#A6A02A #2A6EA6 #622AA6
monochromatic
#444211 #75711E #A6A02A #CEC73F #DBD670

Accessibility & contrast

On white

2.73
#A6A02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#A6A02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A02A
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A02A#FFFFFF#000000##000000
##A6A02A1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A12
Deuteranopia (green-blind)
#B19F33
Tritanopia (blue-blind)
#B29589
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a6a02a;
/* rgb */ color: rgb(166, 160, 42);
/* oklch */ color: oklch(69.0% 0.133 106.4);
Tailwind
colors: {
  custom: {
    50: '#c4bb6d',
    500: '#a6a02a',
    950: '#000000',
  },
}
SCSS
$custom: #a6a02a;
$custom-light: #c4bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a02a",
  "rgb": {
    "r": 166,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 57.097,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.69001,
    "c": 0.13343,
    "h": 106.4
  },
  "luminance": 0.33416
}

Semantic roles & 50–950 ramp

primary
#A6A02A
secondary
#6A6EC2
accent
#4DE345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A6A02A

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

Preview Lab → · Contrast checker → · Palette generator →

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