#A1BB2A#A1BB2A

#A1BB2A is a light, vivid yellow-green. Relative luminance 0.433; OKLCH L 74.7% C 0.164 H 119.7°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#A1BB2A
RGBrgb(161, 187, 42)
HSLhsl(71, 63%, 45%)
HSVhsv(71, 78%, 73%)
CMYKcmyk(13.9%, 0%, 77.5%, 26.7%)
CIE-LABlab(71.75, -27.20, 64.78)
CIE-LCHlch(71.75, 70.26, 112.78°)
OKLaboklab(74.72% -0.0811 0.1421)
OKLCHoklch(74.72% 0.164 119.7)
XYZxyz(32.8869, 43.2850, 8.8124)
Luminance0.4329 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BB2A #442ABB
analogous
#BB8D2A #A1BB2A #58BB2A
triadic
#A1BB2A #2AA1BB #BB2AA1
tetradic
#A1BB2A #2ABB8D #442ABB #BB2A58
square
#A1BB2A #2ABB8D #442ABB #BB2A58
split-complementary
#A1BB2A #2A58BB #8D2ABB
monochromatic
#4B5714 #76891F #A1BB2A #BED74C #D0E27D

Accessibility & contrast

On white

2.17
#A1BB2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#A1BB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1BB2A
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1BB2A#FFFFFF#000000##000000
##A1BB2A1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C4B038
Tritanopia (blue-blind)
#ABB1A0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a1bb2a;
/* rgb */ color: rgb(161, 187, 42);
/* oklch */ color: oklch(74.7% 0.164 119.7);
Tailwind
colors: {
  custom: {
    50: '#c1cf70',
    500: '#a1bb2a',
    950: '#000000',
  },
}
SCSS
$custom: #a1bb2a;
$custom-light: #c1cf70;
$custom-dark: #000000;
JSON
{
  "hex": "#a1bb2a",
  "rgb": {
    "r": 161,
    "g": 187,
    "b": 42
  },
  "hsl": {
    "h": 70.759,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74717,
    "c": 0.16367,
    "h": 119.7
  },
  "luminance": 0.43285
}

Semantic roles & 50–950 ramp

primary
#A1BB2A
secondary
#8676CA
accent
#41E65F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1BB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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