#A6A34B#A6A34B

#A6A34B is a light, moderate yellow. Relative luminance 0.348; OKLCH L 70.0% C 0.111 H 107.2°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#A6A34B
RGBrgb(166, 163, 75)
HSLhsl(58, 38%, 47%)
HSVhsv(58, 55%, 65%)
CMYKcmyk(0%, 1.8%, 54.8%, 34.9%)
CIE-LABlab(65.60, -10.94, 45.37)
CIE-LCHlch(65.60, 46.67, 103.56°)
OKLaboklab(69.97% -0.0327 0.1059)
OKLCHoklch(69.97% 0.111 107.2)
XYZxyz(30.0939, 34.8102, 11.7890)
Luminance0.3481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A34B #4B4EA6
analogous
#A6764B #A6A34B #7CA64B
triadic
#A6A34B #4BA6A3 #A34BA6
tetradic
#A6A34B #4BA676 #4B4EA6 #A64B7C
square
#A6A34B #4BA676 #4B4EA6 #A64B7C
split-complementary
#A6A34B #4B7CA6 #764BA6
monochromatic
#525025 #7C7A38 #A6A34B #BEBC70 #D1D09A

Accessibility & contrast

On white

2.64
#A6A34B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#A6A34B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A34B
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A34B#FFFFFF#000000##000000
##A6A34B1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D42
Deuteranopia (green-blind)
#B1A150
Tritanopia (blue-blind)
#B19A8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a6a34b;
/* rgb */ color: rgb(166, 163, 75);
/* oklch */ color: oklch(70.0% 0.111 107.2);
Tailwind
colors: {
  custom: {
    50: '#c2be80',
    500: '#a6a34b',
    950: '#000000',
  },
}
SCSS
$custom: #a6a34b;
$custom-light: #c2be80;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a34b",
  "rgb": {
    "r": 166,
    "g": 163,
    "b": 75
  },
  "hsl": {
    "h": 58.022,
    "s": 37.759,
    "l": 47.255
  },
  "oklch": {
    "l": 0.69966,
    "c": 0.11081,
    "h": 107.2
  },
  "luminance": 0.34809
}

Semantic roles & 50–950 ramp

primary
#A6A34B
secondary
#8F91BE
accent
#5ECE5A
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A6A34B

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

Preview Lab → · Contrast checker → · Palette generator →

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