#A1BA34#A1BA34

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

Color values

HEX#A1BA34
RGBrgb(161, 186, 52)
HSLhsl(71, 56%, 47%)
HSVhsv(71, 72%, 73%)
CMYKcmyk(13.4%, 0%, 72%, 27.1%)
CIE-LABlab(71.52, -26.24, 61.25)
CIE-LCHlch(71.52, 66.63, 113.19°)
OKLaboklab(74.55% -0.0777 0.1364)
OKLCHoklch(74.55% 0.157 119.7)
XYZxyz(32.8773, 42.9430, 9.8050)
Luminance0.4294 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BA34 #4D34BA
analogous
#BA9034 #A1BA34 #5EBA34
triadic
#A1BA34 #34A1BA #BA34A1
tetradic
#A1BA34 #34BA90 #4D34BA #BA345E
square
#A1BA34 #34BA90 #4D34BA #BA345E
split-complementary
#A1BA34 #345EBA #9034BA
monochromatic
#4E5A19 #788A27 #A1BA34 #BBD15A #CFDE8A

Accessibility & contrast

On white

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

On black

9.59
#A1BA34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1BA34
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1BA34#FFFFFF#000000##000000
##A1BA341.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF1B
Deuteranopia (green-blind)
#C3B03F
Tritanopia (blue-blind)
#AAB0A0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a1ba34;
/* rgb */ color: rgb(161, 186, 52);
/* oklch */ color: oklch(74.5% 0.157 119.7);
Tailwind
colors: {
  custom: {
    50: '#c0ce75',
    500: '#a1ba34',
    950: '#000000',
  },
}
SCSS
$custom: #a1ba34;
$custom-light: #c0ce75;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ba34",
  "rgb": {
    "r": 161,
    "g": 186,
    "b": 52
  },
  "hsl": {
    "h": 71.194,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.74548,
    "c": 0.15692,
    "h": 119.7
  },
  "luminance": 0.42943
}

Semantic roles & 50–950 ramp

primary
#A1BA34
secondary
#8F81C8
accent
#48E064
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A1BA34

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

Preview Lab → · Contrast checker → · Palette generator →

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