#A2C12D#A2C12D

#A2C12D 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#A2C12D
RGBrgb(162, 193, 45)
HSLhsl(73, 62%, 47%)
HSVhsv(73, 77%, 76%)
CMYKcmyk(16.1%, 0%, 76.7%, 24.3%)
CIE-LABlab(73.55, -29.53, 65.54)
CIE-LCHlch(73.55, 71.89, 114.25°)
OKLaboklab(76.2% -0.0873 0.1442)
OKLCHoklch(76.2% 0.169 121.2)
XYZxyz(34.4445, 46.0108, 9.5485)
Luminance0.4601 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C12D #4C2DC1
analogous
#C1962D #A2C12D #58C12D
triadic
#A2C12D #2DA2C1 #C12DA2
tetradic
#A2C12D #2DC196 #4C2DC1 #C12D58
square
#A2C12D #2DC196 #4C2DC1 #C12D58
split-complementary
#A2C12D #2D58C1 #962DC1
monochromatic
#4F5E16 #788F21 #A2C12D #BCD754 #CFE386

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2C12D#FFFFFF#000000##000000
##A2C12D1.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)
#CDB502
Deuteranopia (green-blind)
#C9B53B
Tritanopia (blue-blind)
#ABB7A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a2c12d;
/* rgb */ color: rgb(162, 193, 45);
/* oklch */ color: oklch(76.2% 0.169 121.2);
Tailwind
colors: {
  custom: {
    50: '#c1d372',
    500: '#a2c12d',
    950: '#000000',
  },
}
SCSS
$custom: #a2c12d;
$custom-light: #c1d372;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c12d",
  "rgb": {
    "r": 162,
    "g": 193,
    "b": 45
  },
  "hsl": {
    "h": 72.568,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.76195,
    "c": 0.16861,
    "h": 121.2
  },
  "luminance": 0.46011
}

Semantic roles & 50–950 ramp

primary
#A2C12D
secondary
#8E7ECC
accent
#43E565
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A2C12D

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

Preview Lab → · Contrast checker → · Palette generator →

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