#2A8A45#2A8A45

#2A8A45 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.137 H 149.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2A8A45
RGBrgb(42, 138, 69)
HSLhsl(137, 53%, 35%)
HSVhsv(137, 70%, 54%)
CMYKcmyk(69.6%, 0%, 50%, 45.9%)
CIE-LABlab(50.80, -43.42, 28.94)
CIE-LCHlch(50.80, 52.17, 146.32°)
OKLaboklab(56.12% -0.117 0.0704)
OKLCHoklch(56.12% 0.137 149)
XYZxyz(11.1167, 19.0977, 8.7294)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8A45 #8A2A6F
analogous
#3F8A2A #2A8A45 #2A8A75
triadic
#2A8A45 #452A8A #8A452A
tetradic
#2A8A45 #2A3F8A #8A2A6F #8A752A
square
#2A8A45 #2A3F8A #8A2A6F #8A752A
split-complementary
#2A8A45 #752A8A #8A2A3F
monochromatic
#0D2C16 #1C5B2E #2A8A45 #38B95C #60CF7F

Accessibility & contrast

On white

4.36
#2A8A45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#2A8A45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8A45
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8A45#FFFFFF#000000##000000
##2A8A451.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E3F
Deuteranopia (green-blind)
#7F764A
Tritanopia (blue-blind)
#00877A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2a8a45;
/* rgb */ color: rgb(42, 138, 69);
/* oklch */ color: oklch(56.1% 0.137 149.0);
Tailwind
colors: {
  custom: {
    50: '#71ad7a',
    500: '#2a8a45',
    950: '#000000',
  },
}
SCSS
$custom: #2a8a45;
$custom-light: #71ad7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8a45",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 69
  },
  "hsl": {
    "h": 136.875,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56123,
    "c": 0.13654,
    "h": 149
  },
  "luminance": 0.19099
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A8A45

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

Preview Lab → · Contrast checker → · Palette generator →

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