#A1BC2D#A1BC2D

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

Color values

HEX#A1BC2D
RGBrgb(161, 188, 45)
HSLhsl(71, 61%, 46%)
HSVhsv(71, 76%, 74%)
CMYKcmyk(14.4%, 0%, 76.1%, 26.3%)
CIE-LABlab(72.05, -27.55, 64.12)
CIE-LCHlch(72.05, 69.79, 113.25°)
OKLaboklab(74.97% -0.0819 0.1412)
OKLCHoklch(74.97% 0.163 120.1)
XYZxyz(33.1555, 43.7331, 9.1768)
Luminance0.4373 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BC2D #482DBC
analogous
#BC8F2D #A1BC2D #59BC2D
triadic
#A1BC2D #2DA1BC #BC2DA1
tetradic
#A1BC2D #2DBC8F #482DBC #BC2D59
square
#A1BC2D #2DBC8F #482DBC #BC2D59
split-complementary
#A1BC2D #2D59BC #8F2DBC
monochromatic
#4C5915 #778B21 #A1BC2D #BCD551 #CFE182

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1BC2D#FFFFFF#000000##000000
##A1BC2D1.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)
#C8B107
Deuteranopia (green-blind)
#C5B13A
Tritanopia (blue-blind)
#AAB2A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a1bc2d;
/* rgb */ color: rgb(161, 188, 45);
/* oklch */ color: oklch(75.0% 0.163 120.1);
Tailwind
colors: {
  custom: {
    50: '#c0d071',
    500: '#a1bc2d',
    950: '#000000',
  },
}
SCSS
$custom: #a1bc2d;
$custom-light: #c0d071;
$custom-dark: #000000;
JSON
{
  "hex": "#a1bc2d",
  "rgb": {
    "r": 161,
    "g": 188,
    "b": 45
  },
  "hsl": {
    "h": 71.329,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74965,
    "c": 0.16326,
    "h": 120.1
  },
  "luminance": 0.43733
}

Semantic roles & 50–950 ramp

primary
#A1BC2D
secondary
#8A7BCA
accent
#43E462
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A1BC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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