#2A8B59#2A8B59

#2A8B59 is a mid, moderate green. Relative luminance 0.197; OKLCH L 56.8% C 0.118 H 156.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2A8B59
RGBrgb(42, 139, 89)
HSLhsl(149, 54%, 35%)
HSVhsv(149, 70%, 55%)
CMYKcmyk(69.8%, 0%, 36%, 45.5%)
CIE-LABlab(51.47, -40.06, 18.83)
CIE-LCHlch(51.47, 44.26, 154.83°)
OKLaboklab(56.78% -0.1086 0.0474)
OKLCHoklch(56.78% 0.118 156.4)
XYZxyz(11.9895, 19.6774, 12.6155)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8B59 #8B2A5C
analogous
#2C8B2A #2A8B59 #2A8B89
triadic
#2A8B59 #592A8B #8B592A
tetradic
#2A8B59 #2A2C8B #8B2A5C #8B892A
square
#2A8B59 #2A2C8B #8B2A5C #8B892A
split-complementary
#2A8B59 #892A8B #8B2A2C
monochromatic
#0E2D1D #1C5C3B #2A8B59 #38BA77 #60CF96

Accessibility & contrast

On white

4.25
#2A8B59 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#2A8B59 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8B59
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8B59#FFFFFF#000000##000000
##2A8B591.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8056
Deuteranopia (green-blind)
#7E775C
Tritanopia (blue-blind)
#008A7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a8b59;
/* rgb */ color: rgb(42, 139, 89);
/* oklch */ color: oklch(56.8% 0.118 156.4);
Tailwind
colors: {
  custom: {
    50: '#70ae88',
    500: '#2a8b59',
    950: '#000000',
  },
}
SCSS
$custom: #2a8b59;
$custom-light: #70ae88;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8b59",
  "rgb": {
    "r": 42,
    "g": 139,
    "b": 89
  },
  "hsl": {
    "h": 149.072,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56784,
    "c": 0.11845,
    "h": 156.4
  },
  "luminance": 0.19679
}

Semantic roles & 50–950 ramp

primary
#2A8B59
secondary
#B55C8A
accent
#4B96DD
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2A8B59

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

Preview Lab → · Contrast checker → · Palette generator →

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