#A2BC2B#A2BC2B

#A2BC2B is a light, vivid yellow-green. Relative luminance 0.438; OKLCH L 75.0% C 0.164 H 119.7°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#A2BC2B
RGBrgb(162, 188, 43)
HSLhsl(71, 63%, 45%)
HSVhsv(71, 77%, 74%)
CMYKcmyk(13.8%, 0%, 77.1%, 26.3%)
CIE-LABlab(72.11, -27.23, 64.83)
CIE-LCHlch(72.11, 70.32, 112.78°)
OKLaboklab(75.03% -0.0812 0.1424)
OKLCHoklch(75.03% 0.164 119.7)
XYZxyz(33.3202, 43.8224, 8.9883)
Luminance0.4382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BC2B #452BBC
analogous
#BC8E2B #A2BC2B #59BC2B
triadic
#A2BC2B #2BA2BC #BC2BA2
tetradic
#A2BC2B #2BBC8E #452BBC #BC2B59
square
#A2BC2B #2BBC8E #452BBC #BC2B59
split-complementary
#A2BC2B #2B59BC #8E2BBC
monochromatic
#4C5814 #778A20 #A2BC2B #BED64E #D0E280

Accessibility & contrast

On white

2.15
#A2BC2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#A2BC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BC2B
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BC2B#FFFFFF#000000##000000
##A2BC2B1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B100
Deuteranopia (green-blind)
#C5B139
Tritanopia (blue-blind)
#ACB2A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a2bc2b;
/* rgb */ color: rgb(162, 188, 43);
/* oklch */ color: oklch(75.0% 0.164 119.7);
Tailwind
colors: {
  custom: {
    50: '#c1d071',
    500: '#a2bc2b',
    950: '#000000',
  },
}
SCSS
$custom: #a2bc2b;
$custom-light: #c1d071;
$custom-dark: #000000;
JSON
{
  "hex": "#a2bc2b",
  "rgb": {
    "r": 162,
    "g": 188,
    "b": 43
  },
  "hsl": {
    "h": 70.759,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75028,
    "c": 0.16389,
    "h": 119.7
  },
  "luminance": 0.43822
}

Semantic roles & 50–950 ramp

primary
#A2BC2B
secondary
#8778CB
accent
#42E65F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2BC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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