#A1BA32#A1BA32

#A1BA32 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.58:1 contrast (WCAG AA passes).

Color values

HEX#A1BA32
RGBrgb(161, 186, 50)
HSLhsl(71, 58%, 46%)
HSVhsv(71, 73%, 73%)
CMYKcmyk(13.4%, 0%, 73.1%, 27.1%)
CIE-LABlab(71.50, -26.34, 61.94)
CIE-LCHlch(71.50, 67.31, 113.04°)
OKLaboklab(74.54% -0.0781 0.1375)
OKLCHoklch(74.54% 0.158 119.6)
XYZxyz(32.8332, 42.9253, 9.5727)
Luminance0.4293 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BA32 #4B32BA
analogous
#BA8F32 #A1BA32 #5DBA32
triadic
#A1BA32 #32A1BA #BA32A1
tetradic
#A1BA32 #32BA8F #4B32BA #BA325D
square
#A1BA32 #32BA8F #4B32BA #BA325D
split-complementary
#A1BA32 #325DBA #8F32BA
monochromatic
#4E5A18 #778A25 #A1BA32 #BBD257 #CFDF88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1BA32#FFFFFF#000000##000000
##A1BA321.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)
#C6AF17
Deuteranopia (green-blind)
#C3B03E
Tritanopia (blue-blind)
#AAB0A0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a1ba32;
/* rgb */ color: rgb(161, 186, 50);
/* oklch */ color: oklch(74.5% 0.158 119.6);
Tailwind
colors: {
  custom: {
    50: '#c0ce74',
    500: '#a1ba32',
    950: '#000000',
  },
}
SCSS
$custom: #a1ba32;
$custom-light: #c0ce74;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ba32",
  "rgb": {
    "r": 161,
    "g": 186,
    "b": 50
  },
  "hsl": {
    "h": 71.029,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74535,
    "c": 0.15813,
    "h": 119.6
  },
  "luminance": 0.42925
}

Semantic roles & 50–950 ramp

primary
#A1BA32
secondary
#8D7FC9
accent
#47E163
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A1BA32

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

Preview Lab → · Contrast checker → · Palette generator →

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