#2A8E47#2A8E47

#2A8E47 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.3% C 0.140 H 149.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2A8E47
RGBrgb(42, 142, 71)
HSLhsl(137, 54%, 36%)
HSVhsv(137, 70%, 56%)
CMYKcmyk(70.4%, 0%, 50%, 44.3%)
CIE-LABlab(52.17, -44.64, 29.59)
CIE-LCHlch(52.17, 53.55, 146.46°)
OKLaboklab(57.26% -0.1202 0.072)
OKLCHoklch(57.26% 0.14 149.1)
XYZxyz(11.7643, 20.2919, 9.2567)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8E47 #8E2A71
analogous
#3F8E2A #2A8E47 #2A8E79
triadic
#2A8E47 #472A8E #8E472A
tetradic
#2A8E47 #2A3F8E #8E2A71 #8E792A
square
#2A8E47 #2A3F8E #8E2A71 #8E792A
split-complementary
#2A8E47 #792A8E #8E2A3F
monochromatic
#0E3018 #1C5F2F #2A8E47 #38BD5F #62D182

Accessibility & contrast

On white

4.15
#2A8E47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#2A8E47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8E47
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8E47#FFFFFF#000000##000000
##2A8E471.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8241
Deuteranopia (green-blind)
#83794C
Tritanopia (blue-blind)
#008B7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a8e47;
/* rgb */ color: rgb(42, 142, 71);
/* oklch */ color: oklch(57.3% 0.140 149.1);
Tailwind
colors: {
  custom: {
    50: '#71b07b',
    500: '#2a8e47',
    950: '#000000',
  },
}
SCSS
$custom: #2a8e47;
$custom-light: #71b07b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8e47",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 71
  },
  "hsl": {
    "h": 137.4,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57258,
    "c": 0.14013,
    "h": 149.1
  },
  "luminance": 0.20293
}

Semantic roles & 50–950 ramp

primary
#2A8E47
secondary
#B65D9D
accent
#4AB3DE
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#091109
muted
#7B807B

Preview Lab

Preview with #2A8E47

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

Preview Lab → · Contrast checker → · Palette generator →

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