#A6A142#A6A142

#A6A142 is a light, moderate yellow. Relative luminance 0.340; OKLCH L 69.4% C 0.117 H 106.2°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#A6A142
RGBrgb(166, 161, 66)
HSLhsl(57, 43%, 45%)
HSVhsv(57, 60%, 65%)
CMYKcmyk(0%, 3%, 60.2%, 34.9%)
CIE-LABlab(64.96, -10.59, 48.86)
CIE-LCHlch(64.96, 49.99, 102.23°)
OKLaboklab(69.42% -0.0327 0.1122)
OKLCHoklch(69.42% 0.117 106.2)
XYZxyz(29.4551, 33.9910, 10.1625)
Luminance0.3399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A142 #4247A6
analogous
#A66F42 #A6A142 #79A642
triadic
#A6A142 #42A6A1 #A142A6
tetradic
#A6A142 #42A66F #4247A6 #A64279
square
#A6A142 #42A66F #4247A6 #A64279
split-complementary
#A6A142 #4279A6 #6F42A6
monochromatic
#4E4C1F #7A7731 #A6A142 #C1BD64 #D3CF90

Accessibility & contrast

On white

2.69
#A6A142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#A6A142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A142
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A142#FFFFFF#000000##000000
##A6A1421.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B37
Deuteranopia (green-blind)
#B09F47
Tritanopia (blue-blind)
#B1978D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a6a142;
/* rgb */ color: rgb(166, 161, 66);
/* oklch */ color: oklch(69.4% 0.117 106.2);
Tailwind
colors: {
  custom: {
    50: '#c3bc7a',
    500: '#a6a142',
    950: '#000000',
  },
}
SCSS
$custom: #a6a142;
$custom-light: #c3bc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a142",
  "rgb": {
    "r": 166,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 57,
    "s": 43.103,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69424,
    "c": 0.1169,
    "h": 106.2
  },
  "luminance": 0.3399
}

Semantic roles & 50–950 ramp

primary
#A6A142
secondary
#8689BE
accent
#5BD355
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A6A142

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

Preview Lab → · Contrast checker → · Palette generator →

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