#A2C42E#A2C42E

#A2C42E is a light, vivid yellow-green. Relative luminance 0.474; OKLCH L 76.9% C 0.172 H 122.0°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#A2C42E
RGBrgb(162, 196, 46)
HSLhsl(74, 62%, 47%)
HSVhsv(74, 77%, 77%)
CMYKcmyk(17.3%, 0%, 76.5%, 23.1%)
CIE-LABlab(74.42, -30.90, 66.04)
CIE-LCHlch(74.42, 72.91, 115.07°)
OKLaboklab(76.9% -0.091 0.1454)
OKLCHoklch(76.9% 0.172 122)
XYZxyz(35.1339, 47.3584, 9.8744)
Luminance0.4736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C42E #502EC4
analogous
#C49B2E #A2C42E #57C42E
triadic
#A2C42E #2EA2C4 #C42EA2
tetradic
#A2C42E #2EC49B #502EC4 #C42E57
square
#A2C42E #2EC49B #502EC4 #C42E57
split-complementary
#A2C42E #2E57C4 #9B2EC4
monochromatic
#506117 #799222 #A2C42E #BBD858 #CFE389

Accessibility & contrast

On white

2.01
#A2C42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#A2C42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C42E
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C42E#FFFFFF#000000##000000
##A2C42E1.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B803
Deuteranopia (green-blind)
#CCB73C
Tritanopia (blue-blind)
#ABBAA8
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #a2c42e;
/* rgb */ color: rgb(162, 196, 46);
/* oklch */ color: oklch(76.9% 0.172 122.0);
Tailwind
colors: {
  custom: {
    50: '#c1d673',
    500: '#a2c42e',
    950: '#000000',
  },
}
SCSS
$custom: #a2c42e;
$custom-light: #c1d673;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c42e",
  "rgb": {
    "r": 162,
    "g": 196,
    "b": 46
  },
  "hsl": {
    "h": 73.6,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.76896,
    "c": 0.17156,
    "h": 122
  },
  "luminance": 0.47358
}

Semantic roles & 50–950 ramp

primary
#A2C42E
secondary
#9281CD
accent
#43E568
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A2C42E

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

Preview Lab → · Contrast checker → · Palette generator →

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