#A2BB2A#A2BB2A

#A2BB2A is a light, vivid yellow-green. Relative luminance 0.434; OKLCH L 74.8% C 0.163 H 119.4°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#A2BB2A
RGBrgb(162, 187, 42)
HSLhsl(70, 63%, 45%)
HSVhsv(70, 78%, 73%)
CMYKcmyk(13.4%, 0%, 77.5%, 26.7%)
CIE-LABlab(71.82, -26.79, 64.87)
CIE-LCHlch(71.82, 70.18, 112.44°)
OKLaboklab(74.79% -0.0801 0.1423)
OKLCHoklch(74.79% 0.163 119.4)
XYZxyz(33.0892, 43.3894, 8.8219)
Luminance0.4339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BB2A #432ABB
analogous
#BB8C2A #A2BB2A #59BB2A
triadic
#A2BB2A #2AA2BB #BB2AA2
tetradic
#A2BB2A #2ABB8C #432ABB #BB2A59
square
#A2BB2A #2ABB8C #432ABB #BB2A59
split-complementary
#A2BB2A #2A59BB #8C2ABB
monochromatic
#4B5714 #77891F #A2BB2A #BFD74C #D1E27D

Accessibility & contrast

On white

2.17
#A2BB2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#A2BB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BB2A
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BB2A#FFFFFF#000000##000000
##A2BB2A1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C4B038
Tritanopia (blue-blind)
#ACB1A0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a2bb2a;
/* rgb */ color: rgb(162, 187, 42);
/* oklch */ color: oklch(74.8% 0.163 119.4);
Tailwind
colors: {
  custom: {
    50: '#c1cf70',
    500: '#a2bb2a',
    950: '#000000',
  },
}
SCSS
$custom: #a2bb2a;
$custom-light: #c1cf70;
$custom-dark: #000000;
JSON
{
  "hex": "#a2bb2a",
  "rgb": {
    "r": 162,
    "g": 187,
    "b": 42
  },
  "hsl": {
    "h": 70.345,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74792,
    "c": 0.16327,
    "h": 119.4
  },
  "luminance": 0.43389
}

Semantic roles & 50–950 ramp

primary
#A2BB2A
secondary
#8576CA
accent
#41E65E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2BB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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