#A6A42E#A6A42E

#A6A42E is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.9% C 0.135 H 108.5°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#A6A42E
RGBrgb(166, 164, 46)
HSLhsl(59, 57%, 42%)
HSVhsv(59, 72%, 65%)
CMYKcmyk(0%, 1.2%, 72.3%, 34.9%)
CIE-LABlab(65.64, -13.37, 57.84)
CIE-LCHlch(65.64, 59.36, 103.01°)
OKLaboklab(69.92% -0.0427 0.128)
OKLCHoklch(69.92% 0.135 108.5)
XYZxyz(29.4956, 34.8561, 7.7584)
Luminance0.3486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A42E #2E30A6
analogous
#A6682E #A6A42E #6CA62E
triadic
#A6A42E #2EA6A4 #A42EA6
tetradic
#A6A42E #2EA668 #2E30A6 #A62E6C
square
#A6A42E #2EA668 #2E30A6 #A62E6C
split-complementary
#A6A42E #2E6CA6 #682EA6
monochromatic
#464513 #767521 #A6A42E #CCC946 #D9D776

Accessibility & contrast

On white

2.63
#A6A42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#A6A42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A42E
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A42E#FFFFFF#000000##000000
##A6A42E1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D18
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#B2998D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a6a42e;
/* rgb */ color: rgb(166, 164, 46);
/* oklch */ color: oklch(69.9% 0.135 108.5);
Tailwind
colors: {
  custom: {
    50: '#c4be6f',
    500: '#a6a42e',
    950: '#000000',
  },
}
SCSS
$custom: #a6a42e;
$custom-light: #c4be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a42e",
  "rgb": {
    "r": 166,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 59,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69917,
    "c": 0.13492,
    "h": 108.5
  },
  "luminance": 0.34855
}

Semantic roles & 50–950 ramp

primary
#A6A42E
secondary
#6F70C1
accent
#4AE048
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A42E

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

Preview Lab → · Contrast checker → · Palette generator →

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