#2A8B45#2A8B45

#2A8B45 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.138 H 148.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2A8B45
RGBrgb(42, 139, 69)
HSLhsl(137, 54%, 35%)
HSVhsv(137, 70%, 55%)
CMYKcmyk(69.8%, 0%, 50.4%, 45.5%)
CIE-LABlab(51.14, -43.81, 29.35)
CIE-LCHlch(51.14, 52.73, 146.17°)
OKLaboklab(56.4% -0.118 0.0713)
OKLCHoklch(56.4% 0.138 148.9)
XYZxyz(11.2608, 19.3859, 8.7775)
Luminance0.1939 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8B45 #8B2A70
analogous
#3F8B2A #2A8B45 #2A8B75
triadic
#2A8B45 #452A8B #8B452A
tetradic
#2A8B45 #2A3F8B #8B2A70 #8B752A
square
#2A8B45 #2A3F8B #8B2A70 #8B752A
split-complementary
#2A8B45 #752A8B #8B2A3F
monochromatic
#0E2D16 #1C5C2E #2A8B45 #38BA5C #60CF7F

Accessibility & contrast

On white

4.31
#2A8B45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#2A8B45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8B45
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8B45#FFFFFF#000000##000000
##2A8B451.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7F3F
Deuteranopia (green-blind)
#80774A
Tritanopia (blue-blind)
#00887B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2a8b45;
/* rgb */ color: rgb(42, 139, 69);
/* oklch */ color: oklch(56.4% 0.138 148.9);
Tailwind
colors: {
  custom: {
    50: '#71ae7a',
    500: '#2a8b45',
    950: '#000000',
  },
}
SCSS
$custom: #2a8b45;
$custom-light: #71ae7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8b45",
  "rgb": {
    "r": 42,
    "g": 139,
    "b": 69
  },
  "hsl": {
    "h": 136.701,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56399,
    "c": 0.13792,
    "h": 148.9
  },
  "luminance": 0.19387
}

Semantic roles & 50–950 ramp

primary
#2A8B45
secondary
#B55C9C
accent
#4BB4DD
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2A8B45

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

Preview Lab → · Contrast checker → · Palette generator →

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