#2A8B41#2A8B41

#2A8B41 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.3% C 0.142 H 147.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2A8B41
RGBrgb(42, 139, 65)
HSLhsl(134, 54%, 35%)
HSVhsv(134, 70%, 55%)
CMYKcmyk(69.8%, 0%, 53.2%, 45.5%)
CIE-LABlab(51.08, -44.44, 31.38)
CIE-LCHlch(51.08, 54.41, 144.77°)
OKLaboklab(56.34% -0.1198 0.0757)
OKLCHoklch(56.34% 0.142 147.7)
XYZxyz(11.1408, 19.3379, 8.1455)
Luminance0.1934 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8B41 #8B2A74
analogous
#438B2A #2A8B41 #2A8B71
triadic
#2A8B41 #412A8B #8B412A
tetradic
#2A8B41 #2A438B #8B2A74 #8B712A
square
#2A8B41 #2A438B #8B2A74 #8B712A
split-complementary
#2A8B41 #712A8B #8B2A43
monochromatic
#0E2D15 #1C5C2B #2A8B41 #38BA57 #60CF7B

Accessibility & contrast

On white

4.31
#2A8B41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#2A8B41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8B41
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8B41#FFFFFF#000000##000000
##2A8B411.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F3B
Deuteranopia (green-blind)
#817646
Tritanopia (blue-blind)
#00887A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2a8b41;
/* rgb */ color: rgb(42, 139, 65);
/* oklch */ color: oklch(56.3% 0.142 147.7);
Tailwind
colors: {
  custom: {
    50: '#71ae77',
    500: '#2a8b41',
    950: '#000000',
  },
}
SCSS
$custom: #2a8b41;
$custom-light: #71ae77;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8b41",
  "rgb": {
    "r": 42,
    "g": 139,
    "b": 65
  },
  "hsl": {
    "h": 134.227,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56335,
    "c": 0.1417,
    "h": 147.7
  },
  "luminance": 0.19339
}

Semantic roles & 50–950 ramp

primary
#2A8B41
secondary
#B55CA0
accent
#4BBADD
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2A8B41

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

Preview Lab → · Contrast checker → · Palette generator →

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