#A1BA33#A1BA33

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

Color values

HEX#A1BA33
RGBrgb(161, 186, 51)
HSLhsl(71, 57%, 46%)
HSVhsv(71, 73%, 73%)
CMYKcmyk(13.4%, 0%, 72.6%, 27.1%)
CIE-LABlab(71.51, -26.29, 61.59)
CIE-LCHlch(71.51, 66.97, 113.12°)
OKLaboklab(74.54% -0.0779 0.1369)
OKLCHoklch(74.54% 0.158 119.6)
XYZxyz(32.8550, 42.9341, 9.6876)
Luminance0.4293 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BA33 #4C33BA
analogous
#BA9033 #A1BA33 #5EBA33
triadic
#A1BA33 #33A1BA #BA33A1
tetradic
#A1BA33 #33BA90 #4C33BA #BA335E
square
#A1BA33 #33BA90 #4C33BA #BA335E
split-complementary
#A1BA33 #335EBA #9033BA
monochromatic
#4E5A19 #778A26 #A1BA33 #BBD159 #CFDF89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1BA33#FFFFFF#000000##000000
##A1BA331.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)
#C6AF19
Deuteranopia (green-blind)
#C3B03F
Tritanopia (blue-blind)
#AAB0A0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a1ba33;
/* rgb */ color: rgb(161, 186, 51);
/* oklch */ color: oklch(74.5% 0.158 119.6);
Tailwind
colors: {
  custom: {
    50: '#c0ce74',
    500: '#a1ba33',
    950: '#000000',
  },
}
SCSS
$custom: #a1ba33;
$custom-light: #c0ce74;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ba33",
  "rgb": {
    "r": 161,
    "g": 186,
    "b": 51
  },
  "hsl": {
    "h": 71.111,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74541,
    "c": 0.15753,
    "h": 119.6
  },
  "luminance": 0.42934
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A1BA33

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

Preview Lab → · Contrast checker → · Palette generator →

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