#A1BC2F#A1BC2F

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

Color values

HEX#A1BC2F
RGBrgb(161, 188, 47)
HSLhsl(71, 60%, 46%)
HSVhsv(71, 75%, 74%)
CMYKcmyk(14.4%, 0%, 75%, 26.3%)
CIE-LABlab(72.06, -27.46, 63.48)
CIE-LCHlch(72.06, 69.17, 113.39°)
OKLaboklab(74.98% -0.0814 0.1402)
OKLCHoklch(74.98% 0.162 120.1)
XYZxyz(33.1949, 43.7489, 9.3844)
Luminance0.4375 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BC2F #4A2FBC
analogous
#BC902F #A1BC2F #5BBC2F
triadic
#A1BC2F #2FA1BC #BC2FA1
tetradic
#A1BC2F #2FBC90 #4A2FBC #BC2F5B
square
#A1BC2F #2FBC90 #4A2FBC #BC2F5B
split-complementary
#A1BC2F #2F5BBC #902FBC
monochromatic
#4D5A17 #778B23 #A1BC2F #BCD454 #CFE085

Accessibility & contrast

On white

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

On black

9.75
#A1BC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1BC2F
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1BC2F#FFFFFF#000000##000000
##A1BC2F1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1bc2f;
/* rgb */ color: rgb(161, 188, 47);
/* oklch */ color: oklch(75.0% 0.162 120.1);
Tailwind
colors: {
  custom: {
    50: '#c0d072',
    500: '#a1bc2f',
    950: '#000000',
  },
}
SCSS
$custom: #a1bc2f;
$custom-light: #c0d072;
$custom-dark: #000000;
JSON
{
  "hex": "#a1bc2f",
  "rgb": {
    "r": 161,
    "g": 188,
    "b": 47
  },
  "hsl": {
    "h": 71.489,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74977,
    "c": 0.16218,
    "h": 120.1
  },
  "luminance": 0.43749
}

Semantic roles & 50–950 ramp

primary
#A1BC2F
secondary
#8C7DCA
accent
#45E363
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A1BC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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