#2A8747#2A8747

#2A8747 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.130 H 150.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2A8747
RGBrgb(42, 135, 71)
HSLhsl(139, 53%, 35%)
HSVhsv(139, 69%, 53%)
CMYKcmyk(68.9%, 0%, 47.4%, 47.1%)
CIE-LABlab(49.83, -41.89, 26.63)
CIE-LCHlch(49.83, 49.64, 147.56°)
OKLaboklab(55.33% -0.1129 0.0652)
OKLCHoklch(55.33% 0.13 150)
XYZxyz(10.7553, 18.2740, 8.9204)
Luminance0.1827 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8747 #872A6A
analogous
#3B872A #2A8747 #2A8776
triadic
#2A8747 #472A87 #87472A
tetradic
#2A8747 #2A3B87 #872A6A #87762A
square
#2A8747 #2A3B87 #872A6A #87762A
split-complementary
#2A8747 #762A87 #872A3B
monochromatic
#0D2A16 #1B582E #2A8747 #39B660 #5ECD81

Accessibility & contrast

On white

4.51
#2A8747 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#2A8747 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8747
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8747#FFFFFF#000000##000000
##2A87471.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B42
Deuteranopia (green-blind)
#7C734B
Tritanopia (blue-blind)
#008578
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a8747;
/* rgb */ color: rgb(42, 135, 71);
/* oklch */ color: oklch(55.3% 0.130 150.0);
Tailwind
colors: {
  custom: {
    50: '#70ab7b',
    500: '#2a8747',
    950: '#000000',
  },
}
SCSS
$custom: #2a8747;
$custom-light: #70ab7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8747",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 71
  },
  "hsl": {
    "h": 138.71,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55328,
    "c": 0.13042,
    "h": 150
  },
  "luminance": 0.18275
}

Semantic roles & 50–950 ramp

primary
#2A8747
secondary
#B35A97
accent
#4CAFDC
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2A8747

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

Preview Lab → · Contrast checker → · Palette generator →

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