#A2BC2C#A2BC2C

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

Color values

HEX#A2BC2C
RGBrgb(162, 188, 44)
HSLhsl(71, 62%, 45%)
HSVhsv(71, 77%, 74%)
CMYKcmyk(13.8%, 0%, 76.6%, 26.3%)
CIE-LABlab(72.11, -27.18, 64.52)
CIE-LCHlch(72.11, 70.02, 112.85°)
OKLaboklab(75.03% -0.081 0.1419)
OKLCHoklch(75.03% 0.163 119.7)
XYZxyz(33.3388, 43.8298, 9.0861)
Luminance0.4383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BC2C #462CBC
analogous
#BC8E2C #A2BC2C #5ABC2C
triadic
#A2BC2C #2CA2BC #BC2CA2
tetradic
#A2BC2C #2CBC8E #462CBC #BC2C5A
square
#A2BC2C #2CBC8E #462CBC #BC2C5A
split-complementary
#A2BC2C #2C5ABC #8E2CBC
monochromatic
#4D5915 #778A20 #A2BC2C #BED64F #D0E181

Accessibility & contrast

On white

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

On black

9.77
#A2BC2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BC2C
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BC2C#FFFFFF#000000##000000
##A2BC2C1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2bc2c;
/* rgb */ color: rgb(162, 188, 44);
/* oklch */ color: oklch(75.0% 0.163 119.7);
Tailwind
colors: {
  custom: {
    50: '#c1d071',
    500: '#a2bc2c',
    950: '#000000',
  },
}
SCSS
$custom: #a2bc2c;
$custom-light: #c1d071;
$custom-dark: #000000;
JSON
{
  "hex": "#a2bc2c",
  "rgb": {
    "r": 162,
    "g": 188,
    "b": 44
  },
  "hsl": {
    "h": 70.833,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75034,
    "c": 0.16339,
    "h": 119.7
  },
  "luminance": 0.4383
}

Semantic roles & 50–950 ramp

primary
#A2BC2C
secondary
#8879CA
accent
#43E560
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A2BC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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