#A6A34D#A6A34D

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

Color values

HEX#A6A34D
RGBrgb(166, 163, 77)
HSLhsl(58, 37%, 48%)
HSVhsv(58, 54%, 65%)
CMYKcmyk(0%, 1.8%, 53.6%, 34.9%)
CIE-LABlab(65.62, -10.77, 44.43)
CIE-LCHlch(65.62, 45.71, 103.63°)
OKLaboklab(69.99% -0.032 0.1041)
OKLCHoklch(69.99% 0.109 107.1)
XYZxyz(30.1634, 34.8380, 12.1552)
Luminance0.3484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A34D #4D50A6
analogous
#A6774D #A6A34D #7CA64D
triadic
#A6A34D #4DA6A3 #A34DA6
tetradic
#A6A34D #4DA677 #4D50A6 #A64D7C
square
#A6A34D #4DA677 #4D50A6 #A64D7C
split-complementary
#A6A34D #4D7CA6 #774DA6
monochromatic
#525126 #7C7A3A #A6A34D #BEBB72 #D1CF9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6A34D#FFFFFF#000000##000000
##A6A34D1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D45
Deuteranopia (green-blind)
#B1A151
Tritanopia (blue-blind)
#B19A90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a6a34d;
/* rgb */ color: rgb(166, 163, 77);
/* oklch */ color: oklch(70.0% 0.109 107.1);
Tailwind
colors: {
  custom: {
    50: '#c2be81',
    500: '#a6a34d',
    950: '#000000',
  },
}
SCSS
$custom: #a6a34d;
$custom-light: #c2be81;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a34d",
  "rgb": {
    "r": 166,
    "g": 163,
    "b": 77
  },
  "hsl": {
    "h": 57.978,
    "s": 36.626,
    "l": 47.647
  },
  "oklch": {
    "l": 0.69991,
    "c": 0.10887,
    "h": 107.1
  },
  "luminance": 0.34837
}

Semantic roles & 50–950 ramp

primary
#A6A34D
secondary
#9192BE
accent
#5FCD5B
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13120A
muted
#82817C

Preview Lab

Preview with #A6A34D

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

Preview Lab → · Contrast checker → · Palette generator →

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