#A1BC40#A1BC40

#A1BC40 is a light, vivid yellow-green. Relative luminance 0.439; OKLCH L 75.1% C 0.151 H 120.7°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#A1BC40
RGBrgb(161, 188, 64)
HSLhsl(73, 49%, 49%)
HSVhsv(73, 66%, 74%)
CMYKcmyk(14.4%, 0%, 66%, 26.3%)
CIE-LABlab(72.17, -26.48, 57.33)
CIE-LCHlch(72.17, 63.15, 114.79°)
OKLaboklab(75.1% -0.0772 0.13)
OKLCHoklch(75.1% 0.151 120.7)
XYZxyz(33.6071, 43.9137, 11.5552)
Luminance0.4391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BC40 #5B40BC
analogous
#BC9940 #A1BC40 #63BC40
triadic
#A1BC40 #40A1BC #BC40A1
tetradic
#A1BC40 #40BC99 #5B40BC #BC4063
square
#A1BC40 #40BC99 #5B40BC #BC4063
split-complementary
#A1BC40 #4063BC #9940BC
monochromatic
#536121 #7A8E30 #A1BC40 #B8CD6C #CEDD9A

Accessibility & contrast

On white

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

On black

9.78
#A1BC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1BC40
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1BC40#FFFFFF#000000##000000
##A1BC401.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B12F
Deuteranopia (green-blind)
#C4B149
Tritanopia (blue-blind)
#AAB2A3
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a1bc40;
/* rgb */ color: rgb(161, 188, 64);
/* oklch */ color: oklch(75.1% 0.151 120.7);
Tailwind
colors: {
  custom: {
    50: '#c0d07b',
    500: '#a1bc40',
    950: '#000000',
  },
}
SCSS
$custom: #a1bc40;
$custom-light: #c0d07b;
$custom-dark: #000000;
JSON
{
  "hex": "#a1bc40",
  "rgb": {
    "r": 161,
    "g": 188,
    "b": 64
  },
  "hsl": {
    "h": 73.065,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.75102,
    "c": 0.1512,
    "h": 120.7
  },
  "luminance": 0.43914
}

Semantic roles & 50–950 ramp

primary
#A1BC40
secondary
#9C8FC9
accent
#4FD96D
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #A1BC40

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

Preview Lab → · Contrast checker → · Palette generator →

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