#2A8848#2A8848

#2A8848 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.6% C 0.131 H 150.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2A8848
RGBrgb(42, 136, 72)
HSLhsl(139, 53%, 35%)
HSVhsv(139, 69%, 53%)
CMYKcmyk(69.1%, 0%, 47.1%, 46.7%)
CIE-LABlab(50.18, -42.12, 26.54)
CIE-LCHlch(50.18, 49.78, 147.79°)
OKLaboklab(55.62% -0.1135 0.0651)
OKLCHoklch(55.62% 0.131 150.2)
XYZxyz(10.9278, 18.5673, 9.1376)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8848 #882A6A
analogous
#3B882A #2A8848 #2A8877
triadic
#2A8848 #482A88 #88482A
tetradic
#2A8848 #2A3B88 #882A6A #88772A
square
#2A8848 #2A3B88 #882A6A #88772A
split-complementary
#2A8848 #772A88 #882A3B
monochromatic
#0D2A16 #1C592F #2A8848 #38B761 #5FCE82

Accessibility & contrast

On white

4.46
#2A8848 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2A8848 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8848
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8848#FFFFFF#000000##000000
##2A88481.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C43
Deuteranopia (green-blind)
#7D744C
Tritanopia (blue-blind)
#008679
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a8848;
/* rgb */ color: rgb(42, 136, 72);
/* oklch */ color: oklch(55.6% 0.131 150.2);
Tailwind
colors: {
  custom: {
    50: '#70ab7c',
    500: '#2a8848',
    950: '#000000',
  },
}
SCSS
$custom: #2a8848;
$custom-light: #70ab7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8848",
  "rgb": {
    "r": 42,
    "g": 136,
    "b": 72
  },
  "hsl": {
    "h": 139.149,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55622,
    "c": 0.13085,
    "h": 150.2
  },
  "luminance": 0.18568
}

Semantic roles & 50–950 ramp

primary
#2A8848
secondary
#B35B97
accent
#4CAEDC
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2A8848

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

Preview Lab → · Contrast checker → · Palette generator →

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