#2A7148#2A7148

#2A7148 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.2% C 0.097 H 154.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2A7148
RGBrgb(42, 113, 72)
HSLhsl(145, 46%, 30%)
HSVhsv(145, 63%, 44%)
CMYKcmyk(62.8%, 0%, 36.3%, 55.7%)
CIE-LABlab(42.41, -32.40, 16.35)
CIE-LCHlch(42.41, 36.29, 153.22°)
OKLaboklab(49.24% -0.088 0.0411)
OKLCHoklch(49.24% 0.097 154.9)
XYZxyz(8.0290, 12.7696, 8.1713)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7148 #712A53
analogous
#30712A #2A7148 #2A716B
triadic
#2A7148 #482A71 #71482A
tetradic
#2A7148 #2A3071 #712A53 #716B2A
square
#2A7148 #2A3071 #712A53 #716B2A
split-complementary
#2A7148 #6B2A71 #712A30
monochromatic
#09180F #19442C #2A7148 #3B9E64 #55C082

Accessibility & contrast

On white

5.91
#2A7148 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2A7148 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7148
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7148#FFFFFF#000000##FFFFFF
##2A71481.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716845
Deuteranopia (green-blind)
#67614B
Tritanopia (blue-blind)
#0F7066
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a7148;
/* rgb */ color: rgb(42, 113, 72);
/* oklch */ color: oklch(49.2% 0.097 154.9);
Tailwind
colors: {
  custom: {
    50: '#6b9a7b',
    500: '#2a7148',
    950: '#000000',
  },
}
SCSS
$custom: #2a7148;
$custom-light: #6b9a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7148",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 72
  },
  "hsl": {
    "h": 145.352,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49237,
    "c": 0.0971,
    "h": 154.9
  },
  "luminance": 0.1277
}

Semantic roles & 50–950 ramp

primary
#2A7148
secondary
#A35482
accent
#529ED5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #2A7148

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

Preview Lab → · Contrast checker → · Palette generator →

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