#A1BA2C#A1BA2C

#A1BA2C is a light, vivid yellow-green. Relative luminance 0.429; OKLCH L 74.5% C 0.161 H 119.5°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#A1BA2C
RGBrgb(161, 186, 44)
HSLhsl(71, 62%, 45%)
HSVhsv(71, 76%, 73%)
CMYKcmyk(13.4%, 0%, 76.3%, 27.1%)
CIE-LABlab(71.47, -26.63, 63.90)
CIE-LCHlch(71.47, 69.23, 112.63°)
OKLaboklab(74.5% -0.0794 0.1406)
OKLCHoklch(74.5% 0.161 119.5)
XYZxyz(32.7121, 42.8769, 8.9352)
Luminance0.4288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BA2C #452CBA
analogous
#BA8C2C #A1BA2C #5ABA2C
triadic
#A1BA2C #2CA1BA #BA2CA1
tetradic
#A1BA2C #2CBA8C #452CBA #BA2C5A
square
#A1BA2C #2CBA8C #452CBA #BA2C5A
split-complementary
#A1BA2C #2C5ABA #8C2CBA
monochromatic
#4B5715 #768920 #A1BA2C #BDD54E #D0E180

Accessibility & contrast

On white

2.19
#A1BA2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#A1BA2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1BA2C
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1BA2C#FFFFFF#000000##000000
##A1BA2C1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF05
Deuteranopia (green-blind)
#C3AF39
Tritanopia (blue-blind)
#ABB09F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a1ba2c;
/* rgb */ color: rgb(161, 186, 44);
/* oklch */ color: oklch(74.5% 0.161 119.5);
Tailwind
colors: {
  custom: {
    50: '#c0ce71',
    500: '#a1ba2c',
    950: '#000000',
  },
}
SCSS
$custom: #a1ba2c;
$custom-light: #c0ce71;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ba2c",
  "rgb": {
    "r": 161,
    "g": 186,
    "b": 44
  },
  "hsl": {
    "h": 70.563,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74498,
    "c": 0.16149,
    "h": 119.5
  },
  "luminance": 0.42877
}

Semantic roles & 50–950 ramp

primary
#A1BA2C
secondary
#8778CA
accent
#43E55F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1BA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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