#2A8955#2A8955

#2A8955 is a mid, moderate green. Relative luminance 0.190; OKLCH L 56.2% C 0.119 H 155.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2A8955
RGBrgb(42, 137, 85)
HSLhsl(147, 53%, 35%)
HSVhsv(147, 69%, 54%)
CMYKcmyk(69.3%, 0%, 38%, 46.3%)
CIE-LABlab(50.73, -40.06, 20.08)
CIE-LCHlch(50.73, 44.81, 153.37°)
OKLaboklab(56.15% -0.1084 0.0503)
OKLCHoklch(56.15% 0.119 155.1)
XYZxyz(11.5392, 19.0382, 11.6592)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8955 #892A5E
analogous
#2E892A #2A8955 #2A8985
triadic
#2A8955 #552A89 #89552A
tetradic
#2A8955 #2A2E89 #892A5E #89852A
square
#2A8955 #2A2E89 #892A5E #89852A
split-complementary
#2A8955 #852A89 #892A2E
monochromatic
#0D2B1B #1C5A38 #2A8955 #38B872 #5FCE91

Accessibility & contrast

On white

4.37
#2A8955 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#2A8955 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8955
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8955#FFFFFF#000000##000000
##2A89551.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897E52
Deuteranopia (green-blind)
#7C7558
Tritanopia (blue-blind)
#00887C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2a8955;
/* rgb */ color: rgb(42, 137, 85);
/* oklch */ color: oklch(56.2% 0.119 155.1);
Tailwind
colors: {
  custom: {
    50: '#70ac85',
    500: '#2a8955',
    950: '#000000',
  },
}
SCSS
$custom: #2a8955;
$custom-light: #70ac85;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8955",
  "rgb": {
    "r": 42,
    "g": 137,
    "b": 85
  },
  "hsl": {
    "h": 147.158,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56152,
    "c": 0.11948,
    "h": 155.1
  },
  "luminance": 0.19039
}

Semantic roles & 50–950 ramp

primary
#2A8955
secondary
#B45B8C
accent
#4B9BDC
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2A8955

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

Preview Lab → · Contrast checker → · Palette generator →

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