#A6A12A#A6A12A

#A6A12A is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.2% C 0.134 H 107.0°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#A6A12A
RGBrgb(166, 161, 42)
HSLhsl(58, 60%, 41%)
HSVhsv(58, 75%, 65%)
CMYKcmyk(0%, 3%, 74.7%, 34.9%)
CIE-LABlab(64.78, -11.99, 58.45)
CIE-LCHlch(64.78, 59.66, 101.59°)
OKLaboklab(69.22% -0.0392 0.1285)
OKLCHoklch(69.22% 0.134 107)
XYZxyz(28.8898, 33.7649, 7.1855)
Luminance0.3376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A12A #2A2FA6
analogous
#A6632A #A6A12A #6DA62A
triadic
#A6A12A #2AA6A1 #A12AA6
tetradic
#A6A12A #2AA663 #2A2FA6 #A62A6D
square
#A6A12A #2AA663 #2A2FA6 #A62A6D
split-complementary
#A6A12A #2A6DA6 #632AA6
monochromatic
#444211 #75721E #A6A12A #CEC93F #DBD670

Accessibility & contrast

On white

2.71
#A6A12A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#A6A12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A12A
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A12A#FFFFFF#000000##000000
##A6A12A1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B11
Deuteranopia (green-blind)
#B19F33
Tritanopia (blue-blind)
#B2968A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a6a12a;
/* rgb */ color: rgb(166, 161, 42);
/* oklch */ color: oklch(69.2% 0.134 107.0);
Tailwind
colors: {
  custom: {
    50: '#c4bc6d',
    500: '#a6a12a',
    950: '#000000',
  },
}
SCSS
$custom: #a6a12a;
$custom-light: #c4bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a12a",
  "rgb": {
    "r": 166,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 57.581,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.69223,
    "c": 0.13439,
    "h": 107
  },
  "luminance": 0.33764
}

Semantic roles & 50–950 ramp

primary
#A6A12A
secondary
#6A6EC2
accent
#4BE345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A12A

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

Preview Lab → · Contrast checker → · Palette generator →

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