#2A8739#2A8739

#2A8739 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.1% C 0.144 H 146.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2A8739
RGBrgb(42, 135, 57)
HSLhsl(130, 53%, 35%)
HSVhsv(130, 69%, 53%)
CMYKcmyk(68.9%, 0%, 57.8%, 47.1%)
CIE-LABlab(49.63, -44.09, 33.73)
CIE-LCHlch(49.63, 55.52, 142.58°)
OKLaboklab(55.11% -0.1191 0.0803)
OKLCHoklch(55.11% 0.144 146)
XYZxyz(10.3566, 18.1145, 6.8207)
Luminance0.1812 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8739 #872A78
analogous
#4A872A #2A8739 #2A8767
triadic
#2A8739 #392A87 #87392A
tetradic
#2A8739 #2A4A87 #872A78 #87672A
square
#2A8739 #2A4A87 #872A78 #87672A
split-complementary
#2A8739 #672A87 #872A4A
monochromatic
#0D2A12 #1B5825 #2A8739 #39B64D #5ECD70

Accessibility & contrast

On white

4.54
#2A8739 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#2A8739 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8739
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8739#FFFFFF#000000##000000
##2A87391.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B31
Deuteranopia (green-blind)
#7E733F
Tritanopia (blue-blind)
#0A8476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a8739;
/* rgb */ color: rgb(42, 135, 57);
/* oklch */ color: oklch(55.1% 0.144 146.0);
Tailwind
colors: {
  custom: {
    50: '#70ab72',
    500: '#2a8739',
    950: '#000000',
  },
}
SCSS
$custom: #2a8739;
$custom-light: #70ab72;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8739",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 57
  },
  "hsl": {
    "h": 129.677,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55107,
    "c": 0.14362,
    "h": 146
  },
  "luminance": 0.18116
}

Semantic roles & 50–950 ramp

primary
#2A8739
secondary
#B35AA4
accent
#4CC5DC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2A8739

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

Preview Lab → · Contrast checker → · Palette generator →

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