#2A8B40#2A8B40

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

Color values

HEX#2A8B40
RGBrgb(42, 139, 64)
HSLhsl(134, 54%, 35%)
HSVhsv(134, 70%, 55%)
CMYKcmyk(69.8%, 0%, 54%, 45.5%)
CIE-LABlab(51.07, -44.59, 31.89)
CIE-LCHlch(51.07, 54.82, 144.44°)
OKLaboklab(56.32% -0.1202 0.0767)
OKLCHoklch(56.32% 0.143 147.5)
XYZxyz(11.1121, 19.3265, 7.9943)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8B40 #8B2A75
analogous
#458B2A #2A8B40 #2A8B70
triadic
#2A8B40 #402A8B #8B402A
tetradic
#2A8B40 #2A458B #8B2A75 #8B702A
square
#2A8B40 #2A458B #8B2A75 #8B702A
split-complementary
#2A8B40 #702A8B #8B2A45
monochromatic
#0E2D15 #1C5C2A #2A8B40 #38BA56 #60CF79

Accessibility & contrast

On white

4.32
#2A8B40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8B40#FFFFFF#000000##000000
##2A8B401.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a8b40;
/* rgb */ color: rgb(42, 139, 64);
/* oklch */ color: oklch(56.3% 0.143 147.5);
Tailwind
colors: {
  custom: {
    50: '#71ae76',
    500: '#2a8b40',
    950: '#000000',
  },
}
SCSS
$custom: #2a8b40;
$custom-light: #71ae76;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8b40",
  "rgb": {
    "r": 42,
    "g": 139,
    "b": 64
  },
  "hsl": {
    "h": 133.608,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5632,
    "c": 0.14263,
    "h": 147.5
  },
  "luminance": 0.19328
}

Semantic roles & 50–950 ramp

primary
#2A8B40
secondary
#B55CA1
accent
#4BBCDD
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2A8B40

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

Preview Lab → · Contrast checker → · Palette generator →

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