#A1BC2C#A1BC2C

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

Color values

HEX#A1BC2C
RGBrgb(161, 188, 44)
HSLhsl(71, 62%, 45%)
HSVhsv(71, 77%, 74%)
CMYKcmyk(14.4%, 0%, 76.6%, 26.3%)
CIE-LABlab(72.04, -27.60, 64.43)
CIE-LCHlch(72.04, 70.09, 113.19°)
OKLaboklab(74.96% -0.0821 0.1417)
OKLCHoklch(74.96% 0.164 120.1)
XYZxyz(33.1364, 43.7255, 9.0766)
Luminance0.4373 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BC2C #472CBC
analogous
#BC8F2C #A1BC2C #59BC2C
triadic
#A1BC2C #2CA1BC #BC2CA1
tetradic
#A1BC2C #2CBC8F #472CBC #BC2C59
square
#A1BC2C #2CBC8F #472CBC #BC2C59
split-complementary
#A1BC2C #2C59BC #8F2CBC
monochromatic
#4C5915 #778A20 #A1BC2C #BDD64F #CFE181

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1BC2C#FFFFFF#000000##000000
##A1BC2C1.002.159.749.74
#FFFFFF2.151.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B103
Deuteranopia (green-blind)
#C5B13A
Tritanopia (blue-blind)
#AAB2A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a1bc2c;
/* rgb */ color: rgb(161, 188, 44);
/* oklch */ color: oklch(75.0% 0.164 120.1);
Tailwind
colors: {
  custom: {
    50: '#c1d071',
    500: '#a1bc2c',
    950: '#000000',
  },
}
SCSS
$custom: #a1bc2c;
$custom-light: #c1d071;
$custom-dark: #000000;
JSON
{
  "hex": "#a1bc2c",
  "rgb": {
    "r": 161,
    "g": 188,
    "b": 44
  },
  "hsl": {
    "h": 71.25,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.7496,
    "c": 0.16379,
    "h": 120.1
  },
  "luminance": 0.43725
}

Semantic roles & 50–950 ramp

primary
#A1BC2C
secondary
#8979CA
accent
#43E561
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A1BC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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