#A6A643#A6A643

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

Color values

HEX#A6A643
RGBrgb(166, 166, 67)
HSLhsl(60, 42%, 46%)
HSVhsv(60, 60%, 65%)
CMYKcmyk(0%, 0%, 59.6%, 34.9%)
CIE-LABlab(66.36, -13.13, 49.94)
CIE-LCHlch(66.36, 51.64, 104.73°)
OKLaboklab(70.54% -0.0398 0.1147)
OKLCHoklch(70.54% 0.121 109.1)
XYZxyz(30.3761, 35.7855, 10.6163)
Luminance0.3579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A643 #4343A6
analogous
#A67443 #A6A643 #74A643
triadic
#A6A643 #43A6A6 #A643A6
tetradic
#A6A643 #43A674 #4343A6 #A64374
square
#A6A643 #43A674 #4343A6 #A64374
split-complementary
#A6A643 #4374A6 #7443A6
monochromatic
#4F4F20 #7A7A31 #A6A643 #C1C165 #D3D391

Accessibility & contrast

On white

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

On black

8.16
#A6A643 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A643
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A643#FFFFFF#000000##000000
##A6A6431.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F38
Deuteranopia (green-blind)
#B4A349
Tritanopia (blue-blind)
#B19C91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a6a643;
/* rgb */ color: rgb(166, 166, 67);
/* oklch */ color: oklch(70.5% 0.121 109.1);
Tailwind
colors: {
  custom: {
    50: '#c3c07b',
    500: '#a6a643',
    950: '#000000',
  },
}
SCSS
$custom: #a6a643;
$custom-light: #c3c07b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a643",
  "rgb": {
    "r": 166,
    "g": 166,
    "b": 67
  },
  "hsl": {
    "h": 60,
    "s": 42.489,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70543,
    "c": 0.12138,
    "h": 109.1
  },
  "luminance": 0.35785
}

Semantic roles & 50–950 ramp

primary
#A6A643
secondary
#8787BE
accent
#56D256
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A6A643

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

Preview Lab → · Contrast checker → · Palette generator →

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