#2A8841#2A8841

#2A8841 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.5% C 0.138 H 148.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2A8841
RGBrgb(42, 136, 65)
HSLhsl(135, 53%, 35%)
HSVhsv(135, 69%, 53%)
CMYKcmyk(69.1%, 0%, 52.2%, 46.7%)
CIE-LABlab(50.07, -43.28, 30.15)
CIE-LCHlch(50.07, 52.75, 145.14°)
OKLaboklab(55.5% -0.1167 0.0729)
OKLCHoklch(55.5% 0.138 148)
XYZxyz(10.7124, 18.4811, 8.0027)
Luminance0.1848 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8841 #882A71
analogous
#42882A #2A8841 #2A8870
triadic
#2A8841 #412A88 #88412A
tetradic
#2A8841 #2A4288 #882A71 #88702A
square
#2A8841 #2A4288 #882A71 #88702A
split-complementary
#2A8841 #702A88 #882A42
monochromatic
#0D2A14 #1C592B #2A8841 #38B757 #5FCE7A

Accessibility & contrast

On white

4.47
#2A8841 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#2A8841 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8841
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8841#FFFFFF#000000##000000
##2A88411.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C3B
Deuteranopia (green-blind)
#7E7446
Tritanopia (blue-blind)
#028578
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a8841;
/* rgb */ color: rgb(42, 136, 65);
/* oklch */ color: oklch(55.5% 0.138 148.0);
Tailwind
colors: {
  custom: {
    50: '#70ac77',
    500: '#2a8841',
    950: '#000000',
  },
}
SCSS
$custom: #2a8841;
$custom-light: #70ac77;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8841",
  "rgb": {
    "r": 42,
    "g": 136,
    "b": 65
  },
  "hsl": {
    "h": 134.681,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55504,
    "c": 0.1376,
    "h": 148
  },
  "luminance": 0.18482
}

Semantic roles & 50–950 ramp

primary
#2A8841
secondary
#B35B9E
accent
#4CB9DC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2A8841

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

Preview Lab → · Contrast checker → · Palette generator →

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