#2A8A47#2A8A47

#2A8A47 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.2% C 0.135 H 149.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2A8A47
RGBrgb(42, 138, 71)
HSLhsl(138, 53%, 35%)
HSVhsv(138, 70%, 54%)
CMYKcmyk(69.6%, 0%, 48.6%, 45.9%)
CIE-LABlab(50.83, -43.08, 27.90)
CIE-LCHlch(50.83, 51.33, 147.07°)
OKLaboklab(56.16% -0.1161 0.0682)
OKLCHoklch(56.16% 0.135 149.6)
XYZxyz(11.1798, 19.1229, 9.0619)
Luminance0.1912 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8A47 #8A2A6D
analogous
#3D8A2A #2A8A47 #2A8A77
triadic
#2A8A47 #472A8A #8A472A
tetradic
#2A8A47 #2A3D8A #8A2A6D #8A772A
square
#2A8A47 #2A3D8A #8A2A6D #8A772A
split-complementary
#2A8A47 #772A8A #8A2A3D
monochromatic
#0D2C17 #1C5B2F #2A8A47 #38B95F #60CF81

Accessibility & contrast

On white

4.35
#2A8A47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#2A8A47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8A47
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8A47#FFFFFF#000000##000000
##2A8A471.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E42
Deuteranopia (green-blind)
#7F764C
Tritanopia (blue-blind)
#00877A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2a8a47;
/* rgb */ color: rgb(42, 138, 71);
/* oklch */ color: oklch(56.2% 0.135 149.6);
Tailwind
colors: {
  custom: {
    50: '#70ad7b',
    500: '#2a8a47',
    950: '#000000',
  },
}
SCSS
$custom: #2a8a47;
$custom-light: #70ad7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8a47",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 71
  },
  "hsl": {
    "h": 138.125,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56156,
    "c": 0.13462,
    "h": 149.6
  },
  "luminance": 0.19124
}

Semantic roles & 50–950 ramp

primary
#2A8A47
secondary
#B45B99
accent
#4BB1DD
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2A8A47

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

Preview Lab → · Contrast checker → · Palette generator →

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