#A2C12F#A2C12F

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

Color values

HEX#A2C12F
RGBrgb(162, 193, 47)
HSLhsl(73, 61%, 47%)
HSVhsv(73, 76%, 76%)
CMYKcmyk(16.1%, 0%, 75.6%, 24.3%)
CIE-LABlab(73.56, -29.43, 64.92)
CIE-LCHlch(73.56, 71.28, 114.39°)
OKLaboklab(76.21% -0.0869 0.1432)
OKLCHoklch(76.21% 0.168 121.3)
XYZxyz(34.4839, 46.0266, 9.7561)
Luminance0.4603 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C12F #4E2FC1
analogous
#C1972F #A2C12F #59C12F
triadic
#A2C12F #2FA2C1 #C12FA2
tetradic
#A2C12F #2FC197 #4E2FC1 #C12F59
square
#A2C12F #2FC197 #4E2FC1 #C12F59
split-complementary
#A2C12F #2F59C1 #972FC1
monochromatic
#4F5F17 #799023 #A2C12F #BBD657 #CFE288

Accessibility & contrast

On white

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

On black

10.21
#A2C12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C12F
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C12F#FFFFFF#000000##000000
##A2C12F1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB509
Deuteranopia (green-blind)
#C9B53D
Tritanopia (blue-blind)
#ABB7A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a2c12f;
/* rgb */ color: rgb(162, 193, 47);
/* oklch */ color: oklch(76.2% 0.168 121.3);
Tailwind
colors: {
  custom: {
    50: '#c1d373',
    500: '#a2c12f',
    950: '#000000',
  },
}
SCSS
$custom: #a2c12f;
$custom-light: #c1d373;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c12f",
  "rgb": {
    "r": 162,
    "g": 193,
    "b": 47
  },
  "hsl": {
    "h": 72.74,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.76206,
    "c": 0.16756,
    "h": 121.3
  },
  "luminance": 0.46027
}

Semantic roles & 50–950 ramp

primary
#A2C12F
secondary
#9080CC
accent
#44E466
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A2C12F

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

Preview Lab → · Contrast checker → · Palette generator →

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