#2A8820#2A8820

#2A8820 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.1% C 0.164 H 141.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2A8820
RGBrgb(42, 136, 32)
HSLhsl(114, 62%, 33%)
HSVhsv(114, 76%, 53%)
CMYKcmyk(69.1%, 0%, 76.5%, 46.7%)
CIE-LABlab(49.74, -47.18, 44.97)
CIE-LCHlch(49.74, 65.18, 136.37°)
OKLaboklab(55.12% -0.1286 0.1014)
OKLCHoklch(55.12% 0.164 141.8)
XYZxyz(10.0192, 18.2038, 4.3519)
Luminance0.1820 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8820 #7E2088
analogous
#5E8820 #2A8820 #20884A
triadic
#2A8820 #202A88 #88202A
tetradic
#2A8820 #205E88 #7E2088 #884A20
square
#2A8820 #205E88 #7E2088 #884A20
split-complementary
#2A8820 #4A2088 #88205E
monochromatic
#0B2509 #1B5614 #2A8820 #39BA2C #5AD54D

Accessibility & contrast

On white

4.52
#2A8820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#2A8820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8820
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8820#FFFFFF#000000##000000
##2A88201.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0B
Deuteranopia (green-blind)
#80732B
Tritanopia (blue-blind)
#158474
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a8820;
/* rgb */ color: rgb(42, 136, 32);
/* oklch */ color: oklch(55.1% 0.164 141.8);
Tailwind
colors: {
  custom: {
    50: '#72ac63',
    500: '#2a8820',
    950: '#000000',
  },
}
SCSS
$custom: #2a8820;
$custom-light: #72ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8820",
  "rgb": {
    "r": 42,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 114.231,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55122,
    "c": 0.16379,
    "h": 141.8
  },
  "luminance": 0.18205
}

Semantic roles & 50–950 ramp

primary
#2A8820
secondary
#AE4CB8
accent
#43E5D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8820

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

Preview Lab → · Contrast checker → · Palette generator →

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