#A6A82C#A6A82C

#A6A82C is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.8% C 0.140 H 110.4°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#A6A82C
RGBrgb(166, 168, 44)
HSLhsl(61, 58%, 42%)
HSVhsv(61, 74%, 66%)
CMYKcmyk(1.2%, 0%, 73.8%, 34.1%)
CIE-LABlab(66.74, -15.53, 59.61)
CIE-LCHlch(66.74, 61.60, 104.60°)
OKLaboklab(70.8% -0.0489 0.1314)
OKLCHoklch(70.8% 0.14 110.4)
XYZxyz(30.1842, 36.2949, 7.7980)
Luminance0.3629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A82C #2E2CA8
analogous
#A86C2C #A6A82C #68A82C
triadic
#A6A82C #2CA6A8 #A82CA6
tetradic
#A6A82C #2CA86C #2E2CA8 #A82C68
square
#A6A82C #2CA86C #2E2CA8 #A82C68
split-complementary
#A6A82C #2C68A8 #6C2CA8
monochromatic
#464713 #76781F #A6A82C #CCCE43 #D9DB74

Accessibility & contrast

On white

2.54
#A6A82C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#A6A82C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A82C
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A82C#FFFFFF#000000##000000
##A6A82C1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A112
Deuteranopia (green-blind)
#B7A436
Tritanopia (blue-blind)
#B29D90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a6a82c;
/* rgb */ color: rgb(166, 168, 44);
/* oklch */ color: oklch(70.8% 0.140 110.4);
Tailwind
colors: {
  custom: {
    50: '#c4c16f',
    500: '#a6a82c',
    950: '#000000',
  },
}
SCSS
$custom: #a6a82c;
$custom-light: #c4c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a82c",
  "rgb": {
    "r": 166,
    "g": 168,
    "b": 44
  },
  "hsl": {
    "h": 60.968,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70799,
    "c": 0.14018,
    "h": 110.4
  },
  "luminance": 0.36294
}

Semantic roles & 50–950 ramp

primary
#A6A82C
secondary
#6F6EC2
accent
#46E249
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A82C

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

Preview Lab → · Contrast checker → · Palette generator →

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