#A2A82C#A2A82C

#A2A82C is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.5% C 0.141 H 112.3°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#A2A82C
RGBrgb(162, 168, 44)
HSLhsl(63, 58%, 42%)
HSVhsv(63, 74%, 66%)
CMYKcmyk(3.6%, 0%, 73.8%, 34.1%)
CIE-LABlab(66.42, -17.27, 59.18)
CIE-LCHlch(66.42, 61.65, 106.27°)
OKLaboklab(70.46% -0.0536 0.1306)
OKLCHoklch(70.46% 0.141 112.3)
XYZxyz(29.3585, 35.8692, 7.7593)
Luminance0.3587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A82C #322CA8
analogous
#A8702C #A2A82C #64A82C
triadic
#A2A82C #2CA2A8 #A82CA2
tetradic
#A2A82C #2CA870 #322CA8 #A82C64
square
#A2A82C #2CA870 #322CA8 #A82C64
split-complementary
#A2A82C #2C64A8 #702CA8
monochromatic
#444713 #73781F #A2A82C #C7CE43 #D6DB74

Accessibility & contrast

On white

2.57
#A2A82C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#A2A82C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A82C
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A82C#FFFFFF#000000##000000
##A2A82C1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A012
Deuteranopia (green-blind)
#B5A336
Tritanopia (blue-blind)
#AD9E90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a2a82c;
/* rgb */ color: rgb(162, 168, 44);
/* oklch */ color: oklch(70.5% 0.141 112.3);
Tailwind
colors: {
  custom: {
    50: '#c1c16f',
    500: '#a2a82c',
    950: '#000000',
  },
}
SCSS
$custom: #a2a82c;
$custom-light: #c1c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a82c",
  "rgb": {
    "r": 162,
    "g": 168,
    "b": 44
  },
  "hsl": {
    "h": 62.903,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70459,
    "c": 0.14117,
    "h": 112.3
  },
  "luminance": 0.35868
}

Semantic roles & 50–950 ramp

primary
#A2A82C
secondary
#726EC2
accent
#46E24E
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A82C

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

Preview Lab → · Contrast checker → · Palette generator →

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