#A6A82E#A6A82E

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

Color values

HEX#A6A82E
RGBrgb(166, 168, 46)
HSLhsl(61, 57%, 42%)
HSVhsv(61, 73%, 66%)
CMYKcmyk(1.2%, 0%, 72.6%, 34.1%)
CIE-LABlab(66.76, -15.44, 58.91)
CIE-LCHlch(66.76, 60.90, 104.68°)
OKLaboklab(70.81% -0.0485 0.1303)
OKLCHoklch(70.81% 0.139 110.4)
XYZxyz(30.2227, 36.3104, 8.0008)
Luminance0.3631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A82E #302EA8
analogous
#A86D2E #A6A82E #69A82E
triadic
#A6A82E #2EA6A8 #A82EA6
tetradic
#A6A82E #2EA86D #302EA8 #A82E69
square
#A6A82E #2EA86D #302EA8 #A82E69
split-complementary
#A6A82E #2E69A8 #6D2EA8
monochromatic
#474814 #777821 #A6A82E #CACD47 #D8DA77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6A82E#FFFFFF#000000##000000
##A6A82E1.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)
#B5A117
Deuteranopia (green-blind)
#B7A437
Tritanopia (blue-blind)
#B29D90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a6a82e;
/* rgb */ color: rgb(166, 168, 46);
/* oklch */ color: oklch(70.8% 0.139 110.4);
Tailwind
colors: {
  custom: {
    50: '#c4c170',
    500: '#a6a82e',
    950: '#000000',
  },
}
SCSS
$custom: #a6a82e;
$custom-light: #c4c170;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a82e",
  "rgb": {
    "r": 166,
    "g": 168,
    "b": 46
  },
  "hsl": {
    "h": 60.984,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70812,
    "c": 0.139,
    "h": 110.4
  },
  "luminance": 0.3631
}

Semantic roles & 50–950 ramp

primary
#A6A82E
secondary
#7170C2
accent
#48E04A
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A82E

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

Preview Lab → · Contrast checker → · Palette generator →

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