#A2B82A#A2B82A

#A2B82A is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.1% C 0.160 H 118.4°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#A2B82A
RGBrgb(162, 184, 42)
HSLhsl(69, 63%, 44%)
HSVhsv(69, 77%, 72%)
CMYKcmyk(12%, 0%, 77.2%, 27.8%)
CIE-LABlab(70.96, -25.34, 64.08)
CIE-LCHlch(70.96, 68.91, 111.57°)
OKLaboklab(74.1% -0.0761 0.1406)
OKLCHoklch(74.1% 0.16 118.4)
XYZxyz(32.4594, 42.1298, 8.6119)
Luminance0.4213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B82A #402AB8
analogous
#B8872A #A2B82A #5BB82A
triadic
#A2B82A #2AA2B8 #B82AA2
tetradic
#A2B82A #2AB887 #402AB8 #B82A5B
square
#A2B82A #2AB887 #402AB8 #B82A5B
split-complementary
#A2B82A #2A5BB8 #872AB8
monochromatic
#4A5413 #76861F #A2B82A #C0D64A #D1E17B

Accessibility & contrast

On white

2.23
#A2B82A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#A2B82A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B82A
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B82A#FFFFFF#000000##000000
##A2B82A1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C2AE37
Tritanopia (blue-blind)
#ACAE9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a2b82a;
/* rgb */ color: rgb(162, 184, 42);
/* oklch */ color: oklch(74.1% 0.160 118.4);
Tailwind
colors: {
  custom: {
    50: '#c1cd70',
    500: '#a2b82a',
    950: '#000000',
  },
}
SCSS
$custom: #a2b82a;
$custom-light: #c1cd70;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b82a",
  "rgb": {
    "r": 162,
    "g": 184,
    "b": 42
  },
  "hsl": {
    "h": 69.296,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74101,
    "c": 0.15988,
    "h": 118.4
  },
  "luminance": 0.4213
}

Semantic roles & 50–950 ramp

primary
#A2B82A
secondary
#8275C9
accent
#42E65B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B82A

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

Preview Lab → · Contrast checker → · Palette generator →

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