#A1BC2B#A1BC2B

#A1BC2B 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#A1BC2B
RGBrgb(161, 188, 43)
HSLhsl(71, 63%, 45%)
HSVhsv(71, 77%, 74%)
CMYKcmyk(14.4%, 0%, 77.1%, 26.3%)
CIE-LABlab(72.04, -27.64, 64.74)
CIE-LCHlch(72.04, 70.39, 113.12°)
OKLaboklab(74.95% -0.0823 0.1422)
OKLCHoklch(74.95% 0.164 120.1)
XYZxyz(33.1179, 43.7181, 8.9788)
Luminance0.4372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BC2B #462BBC
analogous
#BC8E2B #A1BC2B #59BC2B
triadic
#A1BC2B #2BA1BC #BC2BA1
tetradic
#A1BC2B #2BBC8E #462BBC #BC2B59
square
#A1BC2B #2BBC8E #462BBC #BC2B59
split-complementary
#A1BC2B #2B59BC #8E2BBC
monochromatic
#4C5814 #768A20 #A1BC2B #BDD64E #D0E280

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1BC2B#FFFFFF#000000##000000
##A1BC2B1.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)
#C5B139
Tritanopia (blue-blind)
#AAB2A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a1bc2b;
/* rgb */ color: rgb(161, 188, 43);
/* oklch */ color: oklch(75.0% 0.164 120.1);
Tailwind
colors: {
  custom: {
    50: '#c1d071',
    500: '#a1bc2b',
    950: '#000000',
  },
}
SCSS
$custom: #a1bc2b;
$custom-light: #c1d071;
$custom-dark: #000000;
JSON
{
  "hex": "#a1bc2b",
  "rgb": {
    "r": 161,
    "g": 188,
    "b": 43
  },
  "hsl": {
    "h": 71.172,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74954,
    "c": 0.1643,
    "h": 120.1
  },
  "luminance": 0.43718
}

Semantic roles & 50–950 ramp

primary
#A1BC2B
secondary
#8878CB
accent
#42E660
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A1BC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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