#A6A82D#A6A82D

#A6A82D 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#A6A82D
RGBrgb(166, 168, 45)
HSLhsl(61, 58%, 42%)
HSVhsv(61, 73%, 66%)
CMYKcmyk(1.2%, 0%, 73.2%, 34.1%)
CIE-LABlab(66.75, -15.48, 59.26)
CIE-LCHlch(66.75, 61.25, 104.64°)
OKLaboklab(70.8% -0.0487 0.1308)
OKLCHoklch(70.8% 0.14 110.4)
XYZxyz(30.2032, 36.3026, 7.8982)
Luminance0.3630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A82D #2F2DA8
analogous
#A86D2D #A6A82D #68A82D
triadic
#A6A82D #2DA6A8 #A82DA6
tetradic
#A6A82D #2DA86D #2F2DA8 #A82D68
square
#A6A82D #2DA86D #2F2DA8 #A82D68
split-complementary
#A6A82D #2D68A8 #6D2DA8
monochromatic
#474713 #767820 #A6A82D #CBCD45 #D8DA75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a6a82d;
/* rgb */ color: rgb(166, 168, 45);
/* oklch */ color: oklch(70.8% 0.140 110.4);
Tailwind
colors: {
  custom: {
    50: '#c4c16f',
    500: '#a6a82d',
    950: '#000000',
  },
}
SCSS
$custom: #a6a82d;
$custom-light: #c4c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a82d",
  "rgb": {
    "r": 166,
    "g": 168,
    "b": 45
  },
  "hsl": {
    "h": 60.976,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70805,
    "c": 0.13959,
    "h": 110.4
  },
  "luminance": 0.36302
}

Semantic roles & 50–950 ramp

primary
#A6A82D
secondary
#706FC2
accent
#47E149
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A82D

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

Preview Lab → · Contrast checker → · Palette generator →

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