#A2BC28#A2BC28

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

Color values

HEX#A2BC28
RGBrgb(162, 188, 40)
HSLhsl(71, 65%, 45%)
HSVhsv(71, 79%, 74%)
CMYKcmyk(13.8%, 0%, 78.7%, 26.3%)
CIE-LABlab(72.10, -27.35, 65.72)
CIE-LCHlch(72.10, 71.18, 112.60°)
OKLaboklab(75.01% -0.0818 0.1438)
OKLCHoklch(75.01% 0.165 119.6)
XYZxyz(33.2672, 43.8012, 8.7090)
Luminance0.4380 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BC28 #4228BC
analogous
#BC8C28 #A2BC28 #58BC28
triadic
#A2BC28 #28A2BC #BC28A2
tetradic
#A2BC28 #28BC8C #4228BC #BC2858
square
#A2BC28 #28BC8C #4228BC #BC2858
split-complementary
#A2BC28 #2858BC #8C28BC
monochromatic
#4B5713 #778A1D #A2BC28 #BFD849 #D1E37B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2BC28#FFFFFF#000000##000000
##A2BC281.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)
#C5B137
Tritanopia (blue-blind)
#ACB2A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a2bc28;
/* rgb */ color: rgb(162, 188, 40);
/* oklch */ color: oklch(75.0% 0.165 119.6);
Tailwind
colors: {
  custom: {
    50: '#c1d06f',
    500: '#a2bc28',
    950: '#000000',
  },
}
SCSS
$custom: #a2bc28;
$custom-light: #c1d06f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2bc28",
  "rgb": {
    "r": 162,
    "g": 188,
    "b": 40
  },
  "hsl": {
    "h": 70.541,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.75012,
    "c": 0.16538,
    "h": 119.6
  },
  "luminance": 0.43801
}

Semantic roles & 50–950 ramp

primary
#A2BC28
secondary
#8475CB
accent
#40E85D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2BC28

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

Preview Lab → · Contrast checker → · Palette generator →

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