#2A8E20#2A8E20

#2A8E20 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.171 H 141.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2A8E20
RGBrgb(42, 142, 32)
HSLhsl(115, 63%, 34%)
HSVhsv(115, 77%, 56%)
CMYKcmyk(70.4%, 0%, 77.5%, 44.3%)
CIE-LABlab(51.77, -49.28, 46.98)
CIE-LCHlch(51.77, 68.09, 136.37°)
OKLaboklab(56.8% -0.1343 0.1056)
OKLCHoklch(56.8% 0.171 141.8)
XYZxyz(10.8880, 19.9414, 4.6415)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8E20 #84208E
analogous
#618E20 #2A8E20 #208E4D
triadic
#2A8E20 #202A8E #8E202A
tetradic
#2A8E20 #20618E #84208E #8E4D20
square
#2A8E20 #20618E #84208E #8E4D20
split-complementary
#2A8E20 #4D208E #8E2061
monochromatic
#0C2A09 #1B5C15 #2A8E20 #39C02B #5DD851

Accessibility & contrast

On white

4.21
#2A8E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#2A8E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8E20
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8E20#FFFFFF#000000##000000
##2A8E201.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918007
Deuteranopia (green-blind)
#86782C
Tritanopia (blue-blind)
#118979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a8e20;
/* rgb */ color: rgb(42, 142, 32);
/* oklch */ color: oklch(56.8% 0.171 141.8);
Tailwind
colors: {
  custom: {
    50: '#73b064',
    500: '#2a8e20',
    950: '#000000',
  },
}
SCSS
$custom: #2a8e20;
$custom-light: #73b064;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8e20",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 114.545,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56804,
    "c": 0.17086,
    "h": 141.8
  },
  "luminance": 0.19943
}

Semantic roles & 50–950 ramp

primary
#2A8E20
secondary
#B14FBB
accent
#42E6D7
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A8E20

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

Preview Lab → · Contrast checker → · Palette generator →

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