#A2C340#A2C340

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

Color values

HEX#A2C340
RGBrgb(162, 195, 64)
HSLhsl(75, 52%, 51%)
HSVhsv(75, 67%, 76%)
CMYKcmyk(16.9%, 0%, 67.2%, 23.5%)
CIE-LABlab(74.24, -29.43, 59.50)
CIE-LCHlch(74.24, 66.38, 116.32°)
OKLaboklab(76.79% -0.0855 0.1345)
OKLCHoklch(76.79% 0.159 122.4)
XYZxyz(35.3412, 47.0817, 12.0753)
Luminance0.4708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C340 #6140C3
analogous
#C3A340 #A2C340 #60C340
triadic
#A2C340 #40A2C3 #C340A2
tetradic
#A2C340 #40C3A3 #6140C3 #C34060
square
#A2C340 #40C3A3 #6140C3 #C34060
split-complementary
#A2C340 #4060C3 #A340C3
monochromatic
#566821 #7D972F #A2C340 #B9D26F #CFE09D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2C340#FFFFFF#000000##000000
##A2C3401.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)
#CEB72D
Deuteranopia (green-blind)
#CAB64A
Tritanopia (blue-blind)
#AAB9A9
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #a2c340;
/* rgb */ color: rgb(162, 195, 64);
/* oklch */ color: oklch(76.8% 0.159 122.4);
Tailwind
colors: {
  custom: {
    50: '#c1d57c',
    500: '#a2c340',
    950: '#000000',
  },
}
SCSS
$custom: #a2c340;
$custom-light: #c1d57c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c340",
  "rgb": {
    "r": 162,
    "g": 195,
    "b": 64
  },
  "hsl": {
    "h": 75.115,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76788,
    "c": 0.15938,
    "h": 122.4
  },
  "luminance": 0.47082
}

Semantic roles & 50–950 ramp

primary
#A2C340
secondary
#A192CC
accent
#4CDC70
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A2C340

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

Preview Lab → · Contrast checker → · Palette generator →

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