#2A8220#2A8220

#2A8220 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.4% C 0.157 H 141.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2A8220
RGBrgb(42, 130, 32)
HSLhsl(114, 60%, 32%)
HSVhsv(114, 75%, 51%)
CMYKcmyk(67.7%, 0%, 75.4%, 49%)
CIE-LABlab(47.70, -45.02, 42.91)
CIE-LCHlch(47.70, 62.20, 136.37°)
OKLaboklab(53.43% -0.1228 0.0971)
OKLCHoklch(53.43% 0.157 141.7)
XYZxyz(9.1977, 16.5609, 4.0781)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8220 #782082
analogous
#5B8220 #2A8220 #208247
triadic
#2A8220 #202A82 #82202A
tetradic
#2A8220 #205B82 #782082 #824720
square
#2A8220 #205B82 #782082 #824720
split-complementary
#2A8220 #472082 #82205B
monochromatic
#0A2008 #1A5114 #2A8220 #3AB32C #58D24A

Accessibility & contrast

On white

4.87
#2A8220 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#2A8220 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8220
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8220#FFFFFF#000000##FFFFFF
##2A82201.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85760E
Deuteranopia (green-blind)
#7B6E2A
Tritanopia (blue-blind)
#187E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a8220;
/* rgb */ color: rgb(42, 130, 32);
/* oklch */ color: oklch(53.4% 0.157 141.7);
Tailwind
colors: {
  custom: {
    50: '#70a762',
    500: '#2a8220',
    950: '#000000',
  },
}
SCSS
$custom: #2a8220;
$custom-light: #70a762;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8220",
  "rgb": {
    "r": 42,
    "g": 130,
    "b": 32
  },
  "hsl": {
    "h": 113.878,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53431,
    "c": 0.15657,
    "h": 141.7
  },
  "luminance": 0.16562
}

Semantic roles & 50–950 ramp

primary
#2A8220
secondary
#AA49B5
accent
#44E4D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #2A8220

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

Preview Lab → · Contrast checker → · Palette generator →

#2A8220 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva