#2A8A4C#2A8A4C

#2A8A4C is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.130 H 151.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2A8A4C
RGBrgb(42, 138, 76)
HSLhsl(141, 53%, 35%)
HSVhsv(141, 70%, 54%)
CMYKcmyk(69.6%, 0%, 44.9%, 45.9%)
CIE-LABlab(50.91, -42.20, 25.30)
CIE-LCHlch(50.91, 49.20, 149.06°)
OKLaboklab(56.25% -0.1138 0.0624)
OKLCHoklch(56.25% 0.13 151.3)
XYZxyz(11.3469, 19.1898, 9.9421)
Luminance0.1919 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8A4C #8A2A68
analogous
#388A2A #2A8A4C #2A8A7C
triadic
#2A8A4C #4C2A8A #8A4C2A
tetradic
#2A8A4C #2A388A #8A2A68 #8A7C2A
square
#2A8A4C #2A388A #8A2A68 #8A7C2A
split-complementary
#2A8A4C #7C2A8A #8A2A38
monochromatic
#0D2C18 #1C5B32 #2A8A4C #38B966 #60CF87

Accessibility & contrast

On white

4.34
#2A8A4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#2A8A4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8A4C
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8A4C#FFFFFF#000000##000000
##2A8A4C1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E47
Deuteranopia (green-blind)
#7F7650
Tritanopia (blue-blind)
#00887B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2a8a4c;
/* rgb */ color: rgb(42, 138, 76);
/* oklch */ color: oklch(56.2% 0.130 151.3);
Tailwind
colors: {
  custom: {
    50: '#70ad7f',
    500: '#2a8a4c',
    950: '#000000',
  },
}
SCSS
$custom: #2a8a4c;
$custom-light: #70ad7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8a4c",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 76
  },
  "hsl": {
    "h": 141.25,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56246,
    "c": 0.12974,
    "h": 151.3
  },
  "luminance": 0.19191
}

Semantic roles & 50–950 ramp

primary
#2A8A4C
secondary
#B45B95
accent
#4BA9DD
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2A8A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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