#A2C342#A2C342

#A2C342 is a light, vivid yellow-green. Relative luminance 0.471; OKLCH L 76.8% C 0.158 H 122.5°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#A2C342
RGBrgb(162, 195, 66)
HSLhsl(75, 52%, 51%)
HSVhsv(75, 66%, 76%)
CMYKcmyk(16.9%, 0%, 66.2%, 23.5%)
CIE-LABlab(74.26, -29.30, 58.72)
CIE-LCHlch(74.26, 65.63, 116.52°)
OKLaboklab(76.81% -0.0849 0.1332)
OKLCHoklch(76.81% 0.158 122.5)
XYZxyz(35.3992, 47.1048, 12.3804)
Luminance0.4711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C342 #6342C3
analogous
#C3A342 #A2C342 #61C342
triadic
#A2C342 #42A2C3 #C342A2
tetradic
#A2C342 #42C3A3 #6342C3 #C34261
square
#A2C342 #42C3A3 #6342C3 #C34261
split-complementary
#A2C342 #4261C3 #A342C3
monochromatic
#576921 #7D9830 #A2C342 #B9D270 #D0E09F

Accessibility & contrast

On white

2.02
#A2C342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#A2C342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C342
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C342#FFFFFF#000000##000000
##A2C3421.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB730
Deuteranopia (green-blind)
#CAB74C
Tritanopia (blue-blind)
#AAB9A9
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #a2c342;
/* rgb */ color: rgb(162, 195, 66);
/* oklch */ color: oklch(76.8% 0.158 122.5);
Tailwind
colors: {
  custom: {
    50: '#c1d57d',
    500: '#a2c342',
    950: '#000000',
  },
}
SCSS
$custom: #a2c342;
$custom-light: #c1d57d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c342",
  "rgb": {
    "r": 162,
    "g": 195,
    "b": 66
  },
  "hsl": {
    "h": 75.349,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76805,
    "c": 0.15795,
    "h": 122.5
  },
  "luminance": 0.47105
}

Semantic roles & 50–950 ramp

primary
#A2C342
secondary
#A294CD
accent
#4DDB71
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A2C342

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

Preview Lab → · Contrast checker → · Palette generator →

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