#A6A140#A6A140

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

Color values

HEX#A6A140
RGBrgb(166, 161, 64)
HSLhsl(57, 44%, 45%)
HSVhsv(57, 61%, 65%)
CMYKcmyk(0%, 3%, 61.4%, 34.9%)
CIE-LABlab(64.94, -10.73, 49.74)
CIE-LCHlch(64.94, 50.89, 102.17°)
OKLaboklab(69.4% -0.0333 0.1138)
OKLCHoklch(69.4% 0.119 106.3)
XYZxyz(29.3971, 33.9678, 9.8574)
Luminance0.3397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A140 #4045A6
analogous
#A66E40 #A6A140 #78A640
triadic
#A6A140 #40A6A1 #A140A6
tetradic
#A6A140 #40A66E #4045A6 #A64078
square
#A6A140 #40A66E #4045A6 #A64078
split-complementary
#A6A140 #4078A6 #6E40A6
monochromatic
#4E4B1E #7A762F #A6A140 #C2BD61 #D3D08D

Accessibility & contrast

On white

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

On black

7.79
#A6A140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A140
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A140#FFFFFF#000000##000000
##A6A1401.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B35
Deuteranopia (green-blind)
#B09F46
Tritanopia (blue-blind)
#B1978C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a6a140;
/* rgb */ color: rgb(166, 161, 64);
/* oklch */ color: oklch(69.4% 0.119 106.3);
Tailwind
colors: {
  custom: {
    50: '#c3bc79',
    500: '#a6a140',
    950: '#000000',
  },
}
SCSS
$custom: #a6a140;
$custom-light: #c3bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a140",
  "rgb": {
    "r": 166,
    "g": 161,
    "b": 64
  },
  "hsl": {
    "h": 57.059,
    "s": 44.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69403,
    "c": 0.11861,
    "h": 106.3
  },
  "luminance": 0.33967
}

Semantic roles & 50–950 ramp

primary
#A6A140
secondary
#8487BE
accent
#5AD454
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A6A140

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

Preview Lab → · Contrast checker → · Palette generator →

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