#A2C42D#A2C42D

#A2C42D 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#A2C42D
RGBrgb(162, 196, 45)
HSLhsl(74, 63%, 47%)
HSVhsv(74, 77%, 77%)
CMYKcmyk(17.3%, 0%, 77%, 23.1%)
CIE-LABlab(74.41, -30.94, 66.34)
CIE-LCHlch(74.41, 73.20, 115.00°)
OKLaboklab(76.89% -0.0912 0.1459)
OKLCHoklch(76.89% 0.172 122)
XYZxyz(35.1144, 47.3506, 9.7718)
Luminance0.4735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C42D #4F2DC4
analogous
#C49B2D #A2C42D #56C42D
triadic
#A2C42D #2DA2C4 #C42DA2
tetradic
#A2C42D #2DC49B #4F2DC4 #C42D56
square
#A2C42D #2DC49B #4F2DC4 #C42D56
split-complementary
#A2C42D #2D56C4 #9B2DC4
monochromatic
#506016 #799222 #A2C42D #BBD856 #CFE488

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2C42D#FFFFFF#000000##000000
##A2C42D1.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)
#D0B800
Deuteranopia (green-blind)
#CCB73C
Tritanopia (blue-blind)
#ABBAA8
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #a2c42d;
/* rgb */ color: rgb(162, 196, 45);
/* oklch */ color: oklch(76.9% 0.172 122.0);
Tailwind
colors: {
  custom: {
    50: '#c1d672',
    500: '#a2c42d',
    950: '#000000',
  },
}
SCSS
$custom: #a2c42d;
$custom-light: #c1d672;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c42d",
  "rgb": {
    "r": 162,
    "g": 196,
    "b": 45
  },
  "hsl": {
    "h": 73.51,
    "s": 62.656,
    "l": 47.255
  },
  "oklch": {
    "l": 0.7689,
    "c": 0.17208,
    "h": 122
  },
  "luminance": 0.47351
}

Semantic roles & 50–950 ramp

primary
#A2C42D
secondary
#9180CD
accent
#42E667
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A2C42D

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

Preview Lab → · Contrast checker → · Palette generator →

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