#A1BA2E#A1BA2E

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

Color values

HEX#A1BA2E
RGBrgb(161, 186, 46)
HSLhsl(71, 60%, 45%)
HSVhsv(71, 75%, 73%)
CMYKcmyk(13.4%, 0%, 75.3%, 27.1%)
CIE-LABlab(71.48, -26.54, 63.27)
CIE-LCHlch(71.48, 68.61, 112.76°)
OKLaboklab(74.51% -0.079 0.1396)
OKLCHoklch(74.51% 0.16 119.5)
XYZxyz(32.7507, 42.8923, 9.1380)
Luminance0.4289 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BA2E #472EBA
analogous
#BA8D2E #A1BA2E #5BBA2E
triadic
#A1BA2E #2EA1BA #BA2EA1
tetradic
#A1BA2E #2EBA8D #472EBA #BA2E5B
square
#A1BA2E #2EBA8D #472EBA #BA2E5B
split-complementary
#A1BA2E #2E5BBA #8D2EBA
monochromatic
#4C5816 #778922 #A1BA2E #BDD451 #CFE082

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1BA2E#FFFFFF#000000##000000
##A1BA2E1.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)
#C6AF0C
Deuteranopia (green-blind)
#C3AF3B
Tritanopia (blue-blind)
#ABB0A0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a1ba2e;
/* rgb */ color: rgb(161, 186, 46);
/* oklch */ color: oklch(74.5% 0.160 119.5);
Tailwind
colors: {
  custom: {
    50: '#c0ce72',
    500: '#a1ba2e',
    950: '#000000',
  },
}
SCSS
$custom: #a1ba2e;
$custom-light: #c0ce72;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ba2e",
  "rgb": {
    "r": 161,
    "g": 186,
    "b": 46
  },
  "hsl": {
    "h": 70.714,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74509,
    "c": 0.16042,
    "h": 119.5
  },
  "luminance": 0.42892
}

Semantic roles & 50–950 ramp

primary
#A1BA2E
secondary
#897BC9
accent
#44E361
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1BA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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