#A2BB40#A2BB40

#A2BB40 is a light, vivid yellow-green. Relative luminance 0.436; OKLCH L 74.9% C 0.150 H 120.0°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#A2BB40
RGBrgb(162, 187, 64)
HSLhsl(72, 49%, 49%)
HSVhsv(72, 66%, 73%)
CMYKcmyk(13.4%, 0%, 65.8%, 26.7%)
CIE-LABlab(71.96, -25.59, 57.13)
CIE-LCHlch(71.96, 62.60, 114.13°)
OKLaboklab(74.95% -0.0748 0.1295)
OKLCHoklch(74.95% 0.15 120)
XYZxyz(33.5966, 43.5923, 11.4937)
Luminance0.4359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BB40 #5940BB
analogous
#BB9740 #A2BB40 #65BB40
triadic
#A2BB40 #40A2BB #BB40A2
tetradic
#A2BB40 #40BB97 #5940BB #BB4065
square
#A2BB40 #40BB97 #5940BB #BB4065
split-complementary
#A2BB40 #4065BB #9740BB
monochromatic
#536021 #7B8D30 #A2BB40 #B9CD6C #CFDC99

Accessibility & contrast

On white

2.16
#A2BB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#A2BB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BB40
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BB40#FFFFFF#000000##000000
##A2BB401.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B12F
Deuteranopia (green-blind)
#C3B149
Tritanopia (blue-blind)
#ABB1A2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a2bb40;
/* rgb */ color: rgb(162, 187, 64);
/* oklch */ color: oklch(74.9% 0.150 120.0);
Tailwind
colors: {
  custom: {
    50: '#c0cf7b',
    500: '#a2bb40',
    950: '#000000',
  },
}
SCSS
$custom: #a2bb40;
$custom-light: #c0cf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2bb40",
  "rgb": {
    "r": 162,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 72.195,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74946,
    "c": 0.14959,
    "h": 120
  },
  "luminance": 0.43592
}

Semantic roles & 50–950 ramp

primary
#A2BB40
secondary
#9A8FC8
accent
#4FD96B
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2BB40

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

Preview Lab → · Contrast checker → · Palette generator →

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