#A2BC2A#A2BC2A

#A2BC2A is a light, vivid yellow-green. Relative luminance 0.438; OKLCH L 75.0% C 0.164 H 119.7°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#A2BC2A
RGBrgb(162, 188, 42)
HSLhsl(71, 63%, 45%)
HSVhsv(71, 78%, 74%)
CMYKcmyk(13.8%, 0%, 77.7%, 26.3%)
CIE-LABlab(72.10, -27.27, 65.13)
CIE-LCHlch(72.10, 70.61, 112.72°)
OKLaboklab(75.02% -0.0814 0.1428)
OKLCHoklch(75.02% 0.164 119.7)
XYZxyz(33.3021, 43.8152, 8.8928)
Luminance0.4381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BC2A #442ABC
analogous
#BC8D2A #A2BC2A #59BC2A
triadic
#A2BC2A #2AA2BC #BC2AA2
tetradic
#A2BC2A #2ABC8D #442ABC #BC2A59
square
#A2BC2A #2ABC8D #442ABC #BC2A59
split-complementary
#A2BC2A #2A59BC #8D2ABC
monochromatic
#4C5814 #778A1F #A2BC2A #BED74C #D0E27E

Accessibility & contrast

On white

2.15
#A2BC2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#A2BC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BC2A
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BC2A#FFFFFF#000000##000000
##A2BC2A1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B100
Deuteranopia (green-blind)
#C5B138
Tritanopia (blue-blind)
#ACB2A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a2bc2a;
/* rgb */ color: rgb(162, 188, 42);
/* oklch */ color: oklch(75.0% 0.164 119.7);
Tailwind
colors: {
  custom: {
    50: '#c1d070',
    500: '#a2bc2a',
    950: '#000000',
  },
}
SCSS
$custom: #a2bc2a;
$custom-light: #c1d070;
$custom-dark: #000000;
JSON
{
  "hex": "#a2bc2a",
  "rgb": {
    "r": 162,
    "g": 188,
    "b": 42
  },
  "hsl": {
    "h": 70.685,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75023,
    "c": 0.1644,
    "h": 119.7
  },
  "luminance": 0.43815
}

Semantic roles & 50–950 ramp

primary
#A2BC2A
secondary
#8677CB
accent
#41E75F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2BC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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