#A2A82F#A2A82F

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

Color values

HEX#A2A82F
RGBrgb(162, 168, 47)
HSLhsl(63, 56%, 42%)
HSVhsv(63, 72%, 66%)
CMYKcmyk(3.6%, 0%, 72%, 34.1%)
CIE-LABlab(66.44, -17.12, 58.13)
CIE-LCHlch(66.44, 60.60, 106.41°)
OKLaboklab(70.48% -0.0529 0.1289)
OKLCHoklch(70.48% 0.139 112.3)
XYZxyz(29.4169, 35.8926, 8.0671)
Luminance0.3589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A82F #352FA8
analogous
#A8712F #A2A82F #66A82F
triadic
#A2A82F #2FA2A8 #A82FA2
tetradic
#A2A82F #2FA871 #352FA8 #A82F66
square
#A2A82F #2FA871 #352FA8 #A82F66
split-complementary
#A2A82F #2F66A8 #712FA8
monochromatic
#464814 #747822 #A2A82F #C5CC48 #D4D978

Accessibility & contrast

On white

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

On black

8.18
#A2A82F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A82F
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A82F#FFFFFF#000000##000000
##A2A82F1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A019
Deuteranopia (green-blind)
#B5A338
Tritanopia (blue-blind)
#AD9E91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a2a82f;
/* rgb */ color: rgb(162, 168, 47);
/* oklch */ color: oklch(70.5% 0.139 112.3);
Tailwind
colors: {
  custom: {
    50: '#c1c170',
    500: '#a2a82f',
    950: '#000000',
  },
}
SCSS
$custom: #a2a82f;
$custom-light: #c1c170;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a82f",
  "rgb": {
    "r": 162,
    "g": 168,
    "b": 47
  },
  "hsl": {
    "h": 62.975,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70479,
    "c": 0.13935,
    "h": 112.3
  },
  "luminance": 0.35892
}

Semantic roles & 50–950 ramp

primary
#A2A82F
secondary
#7571C1
accent
#48E050
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A82F

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

Preview Lab → · Contrast checker → · Palette generator →

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