#A6A32E#A6A32E

#A6A32E is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.7% C 0.134 H 107.9°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#A6A32E
RGBrgb(166, 163, 46)
HSLhsl(59, 57%, 42%)
HSVhsv(59, 72%, 65%)
CMYKcmyk(0%, 1.8%, 72.3%, 34.9%)
CIE-LABlab(65.36, -12.85, 57.57)
CIE-LCHlch(65.36, 58.98, 102.58°)
OKLaboklab(69.69% -0.0412 0.1274)
OKLCHoklch(69.69% 0.134 107.9)
XYZxyz(29.3173, 34.4996, 7.6990)
Luminance0.3450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A32E #2E31A6
analogous
#A6672E #A6A32E #6DA62E
triadic
#A6A32E #2EA6A3 #A32EA6
tetradic
#A6A32E #2EA667 #2E31A6 #A62E6D
square
#A6A32E #2EA667 #2E31A6 #A62E6D
split-complementary
#A6A32E #2E6DA6 #672EA6
monochromatic
#464513 #767421 #A6A32E #CCC846 #D9D676

Accessibility & contrast

On white

2.66
#A6A32E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#A6A32E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A32E
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A32E#FFFFFF#000000##000000
##A6A32E1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C19
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#B2988C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a6a32e;
/* rgb */ color: rgb(166, 163, 46);
/* oklch */ color: oklch(69.7% 0.134 107.9);
Tailwind
colors: {
  custom: {
    50: '#c4be6f',
    500: '#a6a32e',
    950: '#000000',
  },
}
SCSS
$custom: #a6a32e;
$custom-light: #c4be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a32e",
  "rgb": {
    "r": 166,
    "g": 163,
    "b": 46
  },
  "hsl": {
    "h": 58.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69694,
    "c": 0.13392,
    "h": 107.9
  },
  "luminance": 0.34499
}

Semantic roles & 50–950 ramp

primary
#A6A32E
secondary
#6F71C1
accent
#4CE048
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A32E

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

Preview Lab → · Contrast checker → · Palette generator →

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