#2A8B4A#2A8B4A

#2A8B4A is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.133 H 150.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2A8B4A
RGBrgb(42, 139, 74)
HSLhsl(140, 54%, 35%)
HSVhsv(140, 70%, 55%)
CMYKcmyk(69.8%, 0%, 46.8%, 45.5%)
CIE-LABlab(51.21, -42.96, 26.77)
CIE-LCHlch(51.21, 50.62, 148.07°)
OKLaboklab(56.49% -0.1158 0.0657)
OKLCHoklch(56.49% 0.133 150.4)
XYZxyz(11.4226, 19.4507, 9.6296)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8B4A #8B2A6B
analogous
#3A8B2A #2A8B4A #2A8B7A
triadic
#2A8B4A #4A2A8B #8B4A2A
tetradic
#2A8B4A #2A3A8B #8B2A6B #8B7A2A
square
#2A8B4A #2A3A8B #8B2A6B #8B7A2A
split-complementary
#2A8B4A #7A2A8B #8B2A3A
monochromatic
#0E2D18 #1C5C31 #2A8B4A #38BA63 #60CF85

Accessibility & contrast

On white

4.29
#2A8B4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8B4A#FFFFFF#000000##000000
##2A8B4A1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7F45
Deuteranopia (green-blind)
#80774E
Tritanopia (blue-blind)
#00897B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2a8b4a;
/* rgb */ color: rgb(42, 139, 74);
/* oklch */ color: oklch(56.5% 0.133 150.4);
Tailwind
colors: {
  custom: {
    50: '#71ae7d',
    500: '#2a8b4a',
    950: '#000000',
  },
}
SCSS
$custom: #2a8b4a;
$custom-light: #71ae7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8b4a",
  "rgb": {
    "r": 42,
    "g": 139,
    "b": 74
  },
  "hsl": {
    "h": 139.794,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56485,
    "c": 0.13309,
    "h": 150.4
  },
  "luminance": 0.19452
}

Semantic roles & 50–950 ramp

primary
#2A8B4A
secondary
#B55C98
accent
#4BADDD
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2A8B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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