#2A8A48#2A8A48

#2A8A48 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.2% C 0.134 H 149.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2A8A48
RGBrgb(42, 138, 72)
HSLhsl(139, 53%, 35%)
HSVhsv(139, 70%, 54%)
CMYKcmyk(69.6%, 0%, 47.8%, 45.9%)
CIE-LABlab(50.85, -42.91, 27.39)
CIE-LCHlch(50.85, 50.91, 147.45°)
OKLaboklab(56.17% -0.1156 0.067)
OKLCHoklch(56.17% 0.134 149.9)
XYZxyz(11.2121, 19.1359, 9.2323)
Luminance0.1914 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8A48 #8A2A6C
analogous
#3C8A2A #2A8A48 #2A8A78
triadic
#2A8A48 #482A8A #8A482A
tetradic
#2A8A48 #2A3C8A #8A2A6C #8A782A
square
#2A8A48 #2A3C8A #8A2A6C #8A782A
split-complementary
#2A8A48 #782A8A #8A2A3C
monochromatic
#0D2C17 #1C5B30 #2A8A48 #38B960 #60CF82

Accessibility & contrast

On white

4.35
#2A8A48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#2A8A48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8A48
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8A48#FFFFFF#000000##000000
##2A8A481.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E43
Deuteranopia (green-blind)
#7F764D
Tritanopia (blue-blind)
#00887A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2a8a48;
/* rgb */ color: rgb(42, 138, 72);
/* oklch */ color: oklch(56.2% 0.134 149.9);
Tailwind
colors: {
  custom: {
    50: '#70ad7c',
    500: '#2a8a48',
    950: '#000000',
  },
}
SCSS
$custom: #2a8a48;
$custom-light: #70ad7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8a48",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 72
  },
  "hsl": {
    "h": 138.75,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56174,
    "c": 0.13364,
    "h": 149.9
  },
  "luminance": 0.19137
}

Semantic roles & 50–950 ramp

primary
#2A8A48
secondary
#B45B99
accent
#4BAFDD
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2A8A48

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

Preview Lab → · Contrast checker → · Palette generator →

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