#A1BC2A#A1BC2A

#A1BC2A is a light, vivid yellow-green. Relative luminance 0.437; OKLCH L 74.9% C 0.165 H 120.0°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#A1BC2A
RGBrgb(161, 188, 42)
HSLhsl(71, 63%, 45%)
HSVhsv(71, 78%, 74%)
CMYKcmyk(14.4%, 0%, 77.7%, 26.3%)
CIE-LABlab(72.03, -27.68, 65.04)
CIE-LCHlch(72.03, 70.69, 113.06°)
OKLaboklab(74.95% -0.0825 0.1427)
OKLCHoklch(74.95% 0.165 120)
XYZxyz(33.0997, 43.7108, 8.8833)
Luminance0.4371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BC2A #452ABC
analogous
#BC8E2A #A1BC2A #58BC2A
triadic
#A1BC2A #2AA1BC #BC2AA1
tetradic
#A1BC2A #2ABC8E #452ABC #BC2A58
square
#A1BC2A #2ABC8E #452ABC #BC2A58
split-complementary
#A1BC2A #2A58BC #8E2ABC
monochromatic
#4B5814 #768A1F #A1BC2A #BDD74C #D0E27E

Accessibility & contrast

On white

2.16
#A1BC2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#A1BC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1BC2A
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1BC2A#FFFFFF#000000##000000
##A1BC2A1.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1bc2a;
/* rgb */ color: rgb(161, 188, 42);
/* oklch */ color: oklch(74.9% 0.165 120.0);
Tailwind
colors: {
  custom: {
    50: '#c1d070',
    500: '#a1bc2a',
    950: '#000000',
  },
}
SCSS
$custom: #a1bc2a;
$custom-light: #c1d070;
$custom-dark: #000000;
JSON
{
  "hex": "#a1bc2a",
  "rgb": {
    "r": 161,
    "g": 188,
    "b": 42
  },
  "hsl": {
    "h": 71.096,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74948,
    "c": 0.1648,
    "h": 120
  },
  "luminance": 0.43711
}

Semantic roles & 50–950 ramp

primary
#A1BC2A
secondary
#8777CB
accent
#41E760
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A1BC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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