#A2BC40#A2BC40

#A2BC40 is a light, vivid yellow-green. Relative luminance 0.440; OKLCH L 75.2% C 0.151 H 120.3°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#A2BC40
RGBrgb(162, 188, 64)
HSLhsl(73, 49%, 49%)
HSVhsv(73, 66%, 74%)
CMYKcmyk(13.8%, 0%, 66%, 26.3%)
CIE-LABlab(72.24, -26.08, 57.42)
CIE-LCHlch(72.24, 63.07, 114.42°)
OKLaboklab(75.18% -0.0762 0.1302)
OKLCHoklch(75.18% 0.151 120.3)
XYZxyz(33.8094, 44.0181, 11.5647)
Luminance0.4402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BC40 #5A40BC
analogous
#BC9840 #A2BC40 #64BC40
triadic
#A2BC40 #40A2BC #BC40A2
tetradic
#A2BC40 #40BC98 #5A40BC #BC4064
square
#A2BC40 #40BC98 #5A40BC #BC4064
split-complementary
#A2BC40 #4064BC #9840BC
monochromatic
#536121 #7B8E30 #A2BC40 #B9CD6C #CFDD9A

Accessibility & contrast

On white

2.14
#A2BC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#A2BC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BC40
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BC40#FFFFFF#000000##000000
##A2BC401.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B12F
Deuteranopia (green-blind)
#C4B149
Tritanopia (blue-blind)
#ABB2A3
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a2bc40;
/* rgb */ color: rgb(162, 188, 64);
/* oklch */ color: oklch(75.2% 0.151 120.3);
Tailwind
colors: {
  custom: {
    50: '#c0d07b',
    500: '#a2bc40',
    950: '#000000',
  },
}
SCSS
$custom: #a2bc40;
$custom-light: #c0d07b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2bc40",
  "rgb": {
    "r": 162,
    "g": 188,
    "b": 64
  },
  "hsl": {
    "h": 72.581,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.75175,
    "c": 0.15081,
    "h": 120.3
  },
  "luminance": 0.44018
}

Semantic roles & 50–950 ramp

primary
#A2BC40
secondary
#9B8FC9
accent
#4FD96C
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #A2BC40

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

Preview Lab → · Contrast checker → · Palette generator →

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