#2A8D47#2A8D47

#2A8D47 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.139 H 149.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2A8D47
RGBrgb(42, 141, 71)
HSLhsl(138, 54%, 36%)
HSVhsv(138, 70%, 55%)
CMYKcmyk(70.2%, 0%, 49.6%, 44.7%)
CIE-LABlab(51.83, -44.25, 29.17)
CIE-LCHlch(51.83, 53.00, 146.61°)
OKLaboklab(56.98% -0.1192 0.071)
OKLCHoklch(56.98% 0.139 149.2)
XYZxyz(11.6162, 19.9957, 9.2074)
Luminance0.2000 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8D47 #8D2A70
analogous
#3E8D2A #2A8D47 #2A8D78
triadic
#2A8D47 #472A8D #8D472A
tetradic
#2A8D47 #2A3E8D #8D2A70 #8D782A
square
#2A8D47 #2A3E8D #8D2A70 #8D782A
split-complementary
#2A8D47 #782A8D #8D2A3E
monochromatic
#0E2F18 #1C5E2F #2A8D47 #38BC5F #61D082

Accessibility & contrast

On white

4.20
#2A8D47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#2A8D47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8D47
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8D47#FFFFFF#000000##000000
##2A8D471.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8141
Deuteranopia (green-blind)
#82784C
Tritanopia (blue-blind)
#008A7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a8d47;
/* rgb */ color: rgb(42, 141, 71);
/* oklch */ color: oklch(57.0% 0.139 149.2);
Tailwind
colors: {
  custom: {
    50: '#71af7b',
    500: '#2a8d47',
    950: '#000000',
  },
}
SCSS
$custom: #2a8d47;
$custom-light: #71af7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8d47",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 71
  },
  "hsl": {
    "h": 137.576,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56983,
    "c": 0.13876,
    "h": 149.2
  },
  "luminance": 0.19997
}

Semantic roles & 50–950 ramp

primary
#2A8D47
secondary
#B65D9C
accent
#4AB2DD
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2A8D47

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

Preview Lab → · Contrast checker → · Palette generator →

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