#A2BA32#A2BA32

#A2BA32 is a light, vivid yellow-green. Relative luminance 0.430; OKLCH L 74.6% C 0.158 H 119.2°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#A2BA32
RGBrgb(162, 186, 50)
HSLhsl(71, 58%, 46%)
HSVhsv(71, 73%, 73%)
CMYKcmyk(12.9%, 0%, 73.1%, 27.1%)
CIE-LABlab(71.58, -25.93, 62.03)
CIE-LCHlch(71.58, 67.23, 112.69°)
OKLaboklab(74.61% -0.077 0.1377)
OKLCHoklch(74.61% 0.158 119.2)
XYZxyz(33.0356, 43.0297, 9.5822)
Luminance0.4303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BA32 #4A32BA
analogous
#BA8E32 #A2BA32 #5EBA32
triadic
#A2BA32 #32A2BA #BA32A2
tetradic
#A2BA32 #32BA8E #4A32BA #BA325E
square
#A2BA32 #32BA8E #4A32BA #BA325E
split-complementary
#A2BA32 #325EBA #8E32BA
monochromatic
#4E5A18 #788A25 #A2BA32 #BCD257 #CFDF88

Accessibility & contrast

On white

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

On black

9.61
#A2BA32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BA32
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BA32#FFFFFF#000000##000000
##A2BA321.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF17
Deuteranopia (green-blind)
#C3B03E
Tritanopia (blue-blind)
#ACB0A0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a2ba32;
/* rgb */ color: rgb(162, 186, 50);
/* oklch */ color: oklch(74.6% 0.158 119.2);
Tailwind
colors: {
  custom: {
    50: '#c1ce74',
    500: '#a2ba32',
    950: '#000000',
  },
}
SCSS
$custom: #a2ba32;
$custom-light: #c1ce74;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ba32",
  "rgb": {
    "r": 162,
    "g": 186,
    "b": 50
  },
  "hsl": {
    "h": 70.588,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7461,
    "c": 0.15775,
    "h": 119.2
  },
  "luminance": 0.43029
}

Semantic roles & 50–950 ramp

primary
#A2BA32
secondary
#8C7FC9
accent
#47E162
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2BA32

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

Preview Lab → · Contrast checker → · Palette generator →

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