#A6A342#A6A342

#A6A342 is a light, moderate yellow. Relative luminance 0.347; OKLCH L 69.9% C 0.119 H 107.5°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#A6A342
RGBrgb(166, 163, 66)
HSLhsl(58, 43%, 45%)
HSVhsv(58, 60%, 65%)
CMYKcmyk(0%, 1.8%, 60.2%, 34.9%)
CIE-LABlab(65.51, -11.64, 49.47)
CIE-LCHlch(65.51, 50.82, 103.24°)
OKLaboklab(69.87% -0.0357 0.1135)
OKLCHoklch(69.87% 0.119 107.5)
XYZxyz(29.8074, 34.6956, 10.2800)
Luminance0.3469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A342 #4245A6
analogous
#A67142 #A6A342 #77A642
triadic
#A6A342 #42A6A3 #A342A6
tetradic
#A6A342 #42A671 #4245A6 #A64277
square
#A6A342 #42A671 #4245A6 #A64277
split-complementary
#A6A342 #4277A6 #7142A6
monochromatic
#4E4D1F #7A7831 #A6A342 #C1BF64 #D3D190

Accessibility & contrast

On white

2.65
#A6A342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#A6A342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A342
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A342#FFFFFF#000000##000000
##A6A3421.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D37
Deuteranopia (green-blind)
#B2A148
Tritanopia (blue-blind)
#B1998E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a6a342;
/* rgb */ color: rgb(166, 163, 66);
/* oklch */ color: oklch(69.9% 0.119 107.5);
Tailwind
colors: {
  custom: {
    50: '#c3be7a',
    500: '#a6a342',
    950: '#000000',
  },
}
SCSS
$custom: #a6a342;
$custom-light: #c3be7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a342",
  "rgb": {
    "r": 166,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 58.2,
    "s": 43.103,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69866,
    "c": 0.11901,
    "h": 107.5
  },
  "luminance": 0.34695
}

Semantic roles & 50–950 ramp

primary
#A6A342
secondary
#8687BE
accent
#59D355
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A6A342

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

Preview Lab → · Contrast checker → · Palette generator →

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