#A2C142#A2C142

#A2C142 is a light, vivid yellow-green. Relative luminance 0.462; OKLCH L 76.3% C 0.155 H 122.0°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#A2C142
RGBrgb(162, 193, 66)
HSLhsl(75, 51%, 51%)
HSVhsv(75, 66%, 76%)
CMYKcmyk(16.1%, 0%, 65.8%, 24.3%)
CIE-LABlab(73.68, -28.35, 58.12)
CIE-LCHlch(73.68, 64.67, 116.00°)
OKLaboklab(76.34% -0.0823 0.1319)
OKLCHoklch(76.34% 0.155 122)
XYZxyz(34.9540, 46.2146, 12.2321)
Luminance0.4622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C142 #6142C1
analogous
#C1A142 #A2C142 #62C142
triadic
#A2C142 #42A2C1 #C142A2
tetradic
#A2C142 #42C1A1 #6142C1 #C14262
square
#A2C142 #42C1A1 #6142C1 #C14262
split-complementary
#A2C142 #4262C1 #A142C1
monochromatic
#566722 #7D9531 #A2C142 #B9D070 #CFDF9E

Accessibility & contrast

On white

2.05
#A2C142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#A2C142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C142
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C142#FFFFFF#000000##000000
##A2C1421.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB631
Deuteranopia (green-blind)
#C8B54C
Tritanopia (blue-blind)
#AAB7A7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a2c142;
/* rgb */ color: rgb(162, 193, 66);
/* oklch */ color: oklch(76.3% 0.155 122.0);
Tailwind
colors: {
  custom: {
    50: '#c0d37d',
    500: '#a2c142',
    950: '#000000',
  },
}
SCSS
$custom: #a2c142;
$custom-light: #c0d37d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c142",
  "rgb": {
    "r": 162,
    "g": 193,
    "b": 66
  },
  "hsl": {
    "h": 74.646,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76344,
    "c": 0.15548,
    "h": 122
  },
  "luminance": 0.46215
}

Semantic roles & 50–950 ramp

primary
#A2C142
secondary
#A193CC
accent
#4EDA70
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #A2C142

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

Preview Lab → · Contrast checker → · Palette generator →

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