#A2A82A#A2A82A

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

Color values

HEX#A2A82A
RGBrgb(162, 168, 42)
HSLhsl(63, 60%, 41%)
HSVhsv(63, 75%, 66%)
CMYKcmyk(3.6%, 0%, 75%, 34.1%)
CIE-LABlab(66.41, -17.36, 59.86)
CIE-LCHlch(66.41, 62.33, 106.17°)
OKLaboklab(70.45% -0.054 0.1317)
OKLCHoklch(70.45% 0.142 112.3)
XYZxyz(29.3218, 35.8545, 7.5661)
Luminance0.3585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A82A #302AA8
analogous
#A86F2A #A2A82A #63A82A
triadic
#A2A82A #2AA2A8 #A82AA2
tetradic
#A2A82A #2AA86F #302AA8 #A82A63
square
#A2A82A #2AA86F #302AA8 #A82A63
split-complementary
#A2A82A #2A63A8 #6F2AA8
monochromatic
#444612 #73771E #A2A82A #C8CF40 #D6DB71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A82A#FFFFFF#000000##000000
##A2A82A1.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)
#B5A00D
Deuteranopia (green-blind)
#B5A335
Tritanopia (blue-blind)
#AD9E90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a2a82a;
/* rgb */ color: rgb(162, 168, 42);
/* oklch */ color: oklch(70.4% 0.142 112.3);
Tailwind
colors: {
  custom: {
    50: '#c1c16e',
    500: '#a2a82a',
    950: '#000000',
  },
}
SCSS
$custom: #a2a82a;
$custom-light: #c1c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a82a",
  "rgb": {
    "r": 162,
    "g": 168,
    "b": 42
  },
  "hsl": {
    "h": 62.857,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.70446,
    "c": 0.14232,
    "h": 112.3
  },
  "luminance": 0.35854
}

Semantic roles & 50–950 ramp

primary
#A2A82A
secondary
#6F6BC3
accent
#45E34C
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A82A

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

Preview Lab → · Contrast checker → · Palette generator →

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