#2A8847#2A8847

#2A8847 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.6% C 0.132 H 149.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2A8847
RGBrgb(42, 136, 71)
HSLhsl(139, 53%, 35%)
HSVhsv(139, 69%, 53%)
CMYKcmyk(69.1%, 0%, 47.8%, 46.7%)
CIE-LABlab(50.16, -42.29, 27.06)
CIE-LCHlch(50.16, 50.21, 147.39°)
OKLaboklab(55.6% -0.114 0.0662)
OKLCHoklch(55.6% 0.132 149.9)
XYZxyz(10.8955, 18.5543, 8.9672)
Luminance0.1855 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8847 #882A6B
analogous
#3C882A #2A8847 #2A8876
triadic
#2A8847 #472A88 #88472A
tetradic
#2A8847 #2A3C88 #882A6B #88762A
square
#2A8847 #2A3C88 #882A6B #88762A
split-complementary
#2A8847 #762A88 #882A3C
monochromatic
#0D2A16 #1C592F #2A8847 #38B75F #5FCE81

Accessibility & contrast

On white

4.46
#2A8847 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2A8847 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8847
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8847#FFFFFF#000000##000000
##2A88471.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C42
Deuteranopia (green-blind)
#7D744C
Tritanopia (blue-blind)
#008678
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a8847;
/* rgb */ color: rgb(42, 136, 71);
/* oklch */ color: oklch(55.6% 0.132 149.9);
Tailwind
colors: {
  custom: {
    50: '#70ab7b',
    500: '#2a8847',
    950: '#000000',
  },
}
SCSS
$custom: #2a8847;
$custom-light: #70ab7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8847",
  "rgb": {
    "r": 42,
    "g": 136,
    "b": 71
  },
  "hsl": {
    "h": 138.511,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55604,
    "c": 0.13182,
    "h": 149.9
  },
  "luminance": 0.18555
}

Semantic roles & 50–950 ramp

primary
#2A8847
secondary
#B35B98
accent
#4CB0DC
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2A8847

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

Preview Lab → · Contrast checker → · Palette generator →

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