#2A8A4A#2A8A4A

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

Color values

HEX#2A8A4A
RGBrgb(42, 138, 74)
HSLhsl(140, 53%, 35%)
HSVhsv(140, 70%, 54%)
CMYKcmyk(69.6%, 0%, 46.4%, 45.9%)
CIE-LABlab(50.88, -42.56, 26.35)
CIE-LCHlch(50.88, 50.06, 148.24°)
OKLaboklab(56.21% -0.1147 0.0647)
OKLCHoklch(56.21% 0.132 150.6)
XYZxyz(11.2784, 19.1624, 9.5816)
Luminance0.1916 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8A4A #8A2A6A
analogous
#3A8A2A #2A8A4A #2A8A7A
triadic
#2A8A4A #4A2A8A #8A4A2A
tetradic
#2A8A4A #2A3A8A #8A2A6A #8A7A2A
square
#2A8A4A #2A3A8A #8A2A6A #8A7A2A
split-complementary
#2A8A4A #7A2A8A #8A2A3A
monochromatic
#0D2C18 #1C5B31 #2A8A4A #38B963 #60CF85

Accessibility & contrast

On white

4.35
#2A8A4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#2A8A4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8A4A
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8A4A#FFFFFF#000000##000000
##2A8A4A1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a8a4a;
/* rgb */ color: rgb(42, 138, 74);
/* oklch */ color: oklch(56.2% 0.132 150.6);
Tailwind
colors: {
  custom: {
    50: '#70ad7d',
    500: '#2a8a4a',
    950: '#000000',
  },
}
SCSS
$custom: #2a8a4a;
$custom-light: #70ad7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8a4a",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 74
  },
  "hsl": {
    "h": 140,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56209,
    "c": 0.1317,
    "h": 150.6
  },
  "luminance": 0.19164
}

Semantic roles & 50–950 ramp

primary
#2A8A4A
secondary
#B45B97
accent
#4BACDD
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2A8A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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