#2A8141#2A8141

#2A8141 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.128 H 148.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2A8141
RGBrgb(42, 129, 65)
HSLhsl(136, 51%, 34%)
HSVhsv(136, 67%, 51%)
CMYKcmyk(67.4%, 0%, 49.6%, 49.4%)
CIE-LABlab(47.72, -40.52, 27.21)
CIE-LCHlch(47.72, 48.81, 146.12°)
OKLaboklab(53.56% -0.1093 0.0663)
OKLCHoklch(53.56% 0.128 148.8)
XYZxyz(9.7585, 16.5734, 7.6847)
Luminance0.1657 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8141 #812A6A
analogous
#3E812A #2A8141 #2A816C
triadic
#2A8141 #412A81 #81412A
tetradic
#2A8141 #2A3E81 #812A6A #816C2A
square
#2A8141 #2A3E81 #812A6A #816C2A
split-complementary
#2A8141 #6C2A81 #812A3E
monochromatic
#0C2512 #1B532A #2A8141 #39AF58 #5CCA79

Accessibility & contrast

On white

4.87
#2A8141 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#2A8141 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8141
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8141#FFFFFF#000000##FFFFFF
##2A81411.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82763C
Deuteranopia (green-blind)
#776E45
Tritanopia (blue-blind)
#097E72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a8141;
/* rgb */ color: rgb(42, 129, 65);
/* oklch */ color: oklch(53.6% 0.128 148.8);
Tailwind
colors: {
  custom: {
    50: '#6fa677',
    500: '#2a8141',
    950: '#000000',
  },
}
SCSS
$custom: #2a8141;
$custom-light: #6fa677;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8141",
  "rgb": {
    "r": 42,
    "g": 129,
    "b": 65
  },
  "hsl": {
    "h": 135.862,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5356,
    "c": 0.12782,
    "h": 148.8
  },
  "luminance": 0.16574
}

Semantic roles & 50–950 ramp

primary
#2A8141
secondary
#AF5798
accent
#4DB5DA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2A8141

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

Preview Lab → · Contrast checker → · Palette generator →

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