#2A8E4C#2A8E4C

#2A8E4C is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.135 H 150.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2A8E4C
RGBrgb(42, 142, 76)
HSLhsl(140, 54%, 36%)
HSVhsv(140, 70%, 56%)
CMYKcmyk(70.4%, 0%, 46.5%, 44.3%)
CIE-LABlab(52.24, -43.79, 27.01)
CIE-LCHlch(52.24, 51.45, 148.33°)
OKLaboklab(57.34% -0.118 0.0663)
OKLCHoklch(57.34% 0.135 150.7)
XYZxyz(11.9314, 20.3587, 10.1369)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8E4C #8E2A6C
analogous
#3A8E2A #2A8E4C #2A8E7E
triadic
#2A8E4C #4C2A8E #8E4C2A
tetradic
#2A8E4C #2A3A8E #8E2A6C #8E7E2A
square
#2A8E4C #2A3A8E #8E2A6C #8E7E2A
split-complementary
#2A8E4C #7E2A8E #8E2A3A
monochromatic
#0E3019 #1C5F33 #2A8E4C #38BD65 #62D187

Accessibility & contrast

On white

4.14
#2A8E4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#2A8E4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8E4C
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8E4C#FFFFFF#000000##000000
##2A8E4C1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8247
Deuteranopia (green-blind)
#827951
Tritanopia (blue-blind)
#008C7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2a8e4c;
/* rgb */ color: rgb(42, 142, 76);
/* oklch */ color: oklch(57.3% 0.135 150.7);
Tailwind
colors: {
  custom: {
    50: '#71b07f',
    500: '#2a8e4c',
    950: '#000000',
  },
}
SCSS
$custom: #2a8e4c;
$custom-light: #71b07f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8e4c",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 76
  },
  "hsl": {
    "h": 140.4,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57344,
    "c": 0.13533,
    "h": 150.7
  },
  "luminance": 0.2036
}

Semantic roles & 50–950 ramp

primary
#2A8E4C
secondary
#B65D98
accent
#4AACDE
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #2A8E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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