#A1BA2B#A1BA2B

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

Color values

HEX#A1BA2B
RGBrgb(161, 186, 43)
HSLhsl(70, 62%, 45%)
HSVhsv(70, 77%, 73%)
CMYKcmyk(13.4%, 0%, 76.9%, 27.1%)
CIE-LABlab(71.47, -26.68, 64.21)
CIE-LCHlch(71.47, 69.53, 112.56°)
OKLaboklab(74.49% -0.0796 0.1411)
OKLCHoklch(74.49% 0.162 119.4)
XYZxyz(32.6936, 42.8695, 8.8373)
Luminance0.4287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BA2B #442BBA
analogous
#BA8C2B #A1BA2B #59BA2B
triadic
#A1BA2B #2BA1BA #BA2BA1
tetradic
#A1BA2B #2BBA8C #442BBA #BA2B59
square
#A1BA2B #2BBA8C #442BBA #BA2B59
split-complementary
#A1BA2B #2B59BA #8C2BBA
monochromatic
#4B5714 #768820 #A1BA2B #BED64C #D0E17E

Accessibility & contrast

On white

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

On black

9.57
#A1BA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1BA2B
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1BA2B#FFFFFF#000000##000000
##A1BA2B1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1ba2b;
/* rgb */ color: rgb(161, 186, 43);
/* oklch */ color: oklch(74.5% 0.162 119.4);
Tailwind
colors: {
  custom: {
    50: '#c0ce70',
    500: '#a1ba2b',
    950: '#000000',
  },
}
SCSS
$custom: #a1ba2b;
$custom-light: #c0ce70;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ba2b",
  "rgb": {
    "r": 161,
    "g": 186,
    "b": 43
  },
  "hsl": {
    "h": 70.49,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74492,
    "c": 0.16202,
    "h": 119.4
  },
  "luminance": 0.42869
}

Semantic roles & 50–950 ramp

primary
#A1BA2B
secondary
#8677CA
accent
#42E65F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1BA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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