#2A8B48#2A8B48

#2A8B48 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.135 H 149.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2A8B48
RGBrgb(42, 139, 72)
HSLhsl(139, 54%, 35%)
HSVhsv(139, 70%, 55%)
CMYKcmyk(69.8%, 0%, 48.2%, 45.5%)
CIE-LABlab(51.18, -43.30, 27.81)
CIE-LCHlch(51.18, 51.46, 147.29°)
OKLaboklab(56.45% -0.1167 0.068)
OKLCHoklch(56.45% 0.135 149.8)
XYZxyz(11.3563, 19.4241, 9.2804)
Luminance0.1943 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8B48 #8B2A6D
analogous
#3C8B2A #2A8B48 #2A8B78
triadic
#2A8B48 #482A8B #8B482A
tetradic
#2A8B48 #2A3C8B #8B2A6D #8B782A
square
#2A8B48 #2A3C8B #8B2A6D #8B782A
split-complementary
#2A8B48 #782A8B #8B2A3C
monochromatic
#0E2D17 #1C5C30 #2A8B48 #38BA60 #60CF83

Accessibility & contrast

On white

4.30
#2A8B48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#2A8B48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8B48
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8B48#FFFFFF#000000##000000
##2A8B481.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7F43
Deuteranopia (green-blind)
#80774D
Tritanopia (blue-blind)
#00887B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2a8b48;
/* rgb */ color: rgb(42, 139, 72);
/* oklch */ color: oklch(56.4% 0.135 149.8);
Tailwind
colors: {
  custom: {
    50: '#71ae7c',
    500: '#2a8b48',
    950: '#000000',
  },
}
SCSS
$custom: #2a8b48;
$custom-light: #71ae7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8b48",
  "rgb": {
    "r": 42,
    "g": 139,
    "b": 72
  },
  "hsl": {
    "h": 138.557,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56449,
    "c": 0.13504,
    "h": 149.8
  },
  "luminance": 0.19425
}

Semantic roles & 50–950 ramp

primary
#2A8B48
secondary
#B55C99
accent
#4BB0DD
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2A8B48

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

Preview Lab → · Contrast checker → · Palette generator →

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