#2A8C4E#2A8C4E

#2A8C4E is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.131 H 151.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2A8C4E
RGBrgb(42, 140, 78)
HSLhsl(142, 54%, 36%)
HSVhsv(142, 70%, 55%)
CMYKcmyk(70%, 0%, 44.3%, 45.1%)
CIE-LABlab(51.61, -42.63, 25.11)
CIE-LCHlch(51.61, 49.48, 149.50°)
OKLaboklab(56.83% -0.1149 0.062)
OKLCHoklch(56.83% 0.131 151.7)
XYZxyz(11.7071, 19.7972, 10.4105)
Luminance0.1980 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8C4E #8C2A68
analogous
#378C2A #2A8C4E #2A8C7F
triadic
#2A8C4E #4E2A8C #8C4E2A
tetradic
#2A8C4E #2A378C #8C2A68 #8C7F2A
square
#2A8C4E #2A378C #8C2A68 #8C7F2A
split-complementary
#2A8C4E #7F2A8C #8C2A37
monochromatic
#0E2E1A #1C5D34 #2A8C4E #38BB68 #61D08A

Accessibility & contrast

On white

4.23
#2A8C4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#2A8C4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8C4E
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8C4E#FFFFFF#000000##000000
##2A8C4E1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8049
Deuteranopia (green-blind)
#807852
Tritanopia (blue-blind)
#008A7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a8c4e;
/* rgb */ color: rgb(42, 140, 78);
/* oklch */ color: oklch(56.8% 0.131 151.7);
Tailwind
colors: {
  custom: {
    50: '#71ae80',
    500: '#2a8c4e',
    950: '#000000',
  },
}
SCSS
$custom: #2a8c4e;
$custom-light: #71ae80;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8c4e",
  "rgb": {
    "r": 42,
    "g": 140,
    "b": 78
  },
  "hsl": {
    "h": 142.041,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56833,
    "c": 0.13059,
    "h": 151.7
  },
  "luminance": 0.19798
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A8C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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