#A2C12C#A2C12C

#A2C12C is a light, vivid yellow-green. Relative luminance 0.460; OKLCH L 76.2% C 0.169 H 121.2°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#A2C12C
RGBrgb(162, 193, 44)
HSLhsl(72, 63%, 46%)
HSVhsv(72, 77%, 76%)
CMYKcmyk(16.1%, 0%, 77.2%, 24.3%)
CIE-LABlab(73.55, -29.57, 65.85)
CIE-LCHlch(73.55, 72.18, 114.18°)
OKLaboklab(76.19% -0.0875 0.1447)
OKLCHoklch(76.19% 0.169 121.2)
XYZxyz(34.4255, 46.0032, 9.4483)
Luminance0.4600 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C12C #4B2CC1
analogous
#C1962C #A2C12C #58C12C
triadic
#A2C12C #2CA2C1 #C12CA2
tetradic
#A2C12C #2CC196 #4B2CC1 #C12C58
square
#A2C12C #2CC196 #4B2CC1 #C12C58
split-complementary
#A2C12C #2C58C1 #962CC1
monochromatic
#4E5D15 #788F21 #A2C12C #BCD853 #CFE384

Accessibility & contrast

On white

2.06
#A2C12C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#A2C12C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C12C
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C12C#FFFFFF#000000##000000
##A2C12C1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#C9B53B
Tritanopia (blue-blind)
#ABB7A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a2c12c;
/* rgb */ color: rgb(162, 193, 44);
/* oklch */ color: oklch(76.2% 0.169 121.2);
Tailwind
colors: {
  custom: {
    50: '#c1d372',
    500: '#a2c12c',
    950: '#000000',
  },
}
SCSS
$custom: #a2c12c;
$custom-light: #c1d372;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c12c",
  "rgb": {
    "r": 162,
    "g": 193,
    "b": 44
  },
  "hsl": {
    "h": 72.483,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76189,
    "c": 0.16912,
    "h": 121.2
  },
  "luminance": 0.46003
}

Semantic roles & 50–950 ramp

primary
#A2C12C
secondary
#8D7DCC
accent
#42E664
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A2C12C

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

Preview Lab → · Contrast checker → · Palette generator →

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