#2A8B4E#2A8B4E

#2A8B4E is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.6% C 0.129 H 151.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2A8B4E
RGBrgb(42, 139, 78)
HSLhsl(142, 54%, 35%)
HSVhsv(142, 70%, 55%)
CMYKcmyk(69.8%, 0%, 43.9%, 45.5%)
CIE-LABlab(51.27, -42.24, 24.68)
CIE-LCHlch(51.27, 48.92, 149.70°)
OKLaboklab(56.56% -0.1139 0.061)
OKLCHoklch(56.56% 0.129 151.8)
XYZxyz(11.5616, 19.5063, 10.3620)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8B4E #8B2A67
analogous
#368B2A #2A8B4E #2A8B7E
triadic
#2A8B4E #4E2A8B #8B4E2A
tetradic
#2A8B4E #2A368B #8B2A67 #8B7E2A
square
#2A8B4E #2A368B #8B2A67 #8B7E2A
split-complementary
#2A8B4E #7E2A8B #8B2A36
monochromatic
#0E2D19 #1C5C34 #2A8B4E #38BA68 #60CF89

Accessibility & contrast

On white

4.28
#2A8B4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#2A8B4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8B4E
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8B4E#FFFFFF#000000##000000
##2A8B4E1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F4A
Deuteranopia (green-blind)
#7F7752
Tritanopia (blue-blind)
#00897C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2a8b4e;
/* rgb */ color: rgb(42, 139, 78);
/* oklch */ color: oklch(56.6% 0.129 151.8);
Tailwind
colors: {
  custom: {
    50: '#71ae80',
    500: '#2a8b4e',
    950: '#000000',
  },
}
SCSS
$custom: #2a8b4e;
$custom-light: #71ae80;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8b4e",
  "rgb": {
    "r": 42,
    "g": 139,
    "b": 78
  },
  "hsl": {
    "h": 142.268,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56558,
    "c": 0.12919,
    "h": 151.8
  },
  "luminance": 0.19508
}

Semantic roles & 50–950 ramp

primary
#2A8B4E
secondary
#B55C94
accent
#4BA7DD
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2A8B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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