#A6A82B#A6A82B

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

Color values

HEX#A6A82B
RGBrgb(166, 168, 43)
HSLhsl(61, 59%, 41%)
HSVhsv(61, 74%, 66%)
CMYKcmyk(1.2%, 0%, 74.4%, 34.1%)
CIE-LABlab(66.74, -15.58, 59.95)
CIE-LCHlch(66.74, 61.94, 104.57°)
OKLaboklab(70.79% -0.0492 0.1319)
OKLCHoklch(70.79% 0.141 110.4)
XYZxyz(30.1656, 36.2875, 7.7002)
Luminance0.3629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A82B #2D2BA8
analogous
#A86C2B #A6A82B #68A82B
triadic
#A6A82B #2BA6A8 #A82BA6
tetradic
#A6A82B #2BA86C #2D2BA8 #A82B68
square
#A6A82B #2BA86C #2D2BA8 #A82B68
split-complementary
#A6A82B #2B68A8 #6C2BA8
monochromatic
#464712 #76771F #A6A82B #CCCF42 #D9DB72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6A82B#FFFFFF#000000##000000
##A6A82B1.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)
#B6A010
Deuteranopia (green-blind)
#B7A435
Tritanopia (blue-blind)
#B29D90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a6a82b;
/* rgb */ color: rgb(166, 168, 43);
/* oklch */ color: oklch(70.8% 0.141 110.4);
Tailwind
colors: {
  custom: {
    50: '#c4c16e',
    500: '#a6a82b',
    950: '#000000',
  },
}
SCSS
$custom: #a6a82b;
$custom-light: #c4c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a82b",
  "rgb": {
    "r": 166,
    "g": 168,
    "b": 43
  },
  "hsl": {
    "h": 60.96,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70792,
    "c": 0.14077,
    "h": 110.4
  },
  "luminance": 0.36287
}

Semantic roles & 50–950 ramp

primary
#A6A82B
secondary
#6E6CC2
accent
#45E248
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A82B

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

Preview Lab → · Contrast checker → · Palette generator →

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