#2A8C48#2A8C48

#2A8C48 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.7% C 0.136 H 149.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2A8C48
RGBrgb(42, 140, 72)
HSLhsl(138, 54%, 36%)
HSVhsv(138, 70%, 55%)
CMYKcmyk(70%, 0%, 48.6%, 45.1%)
CIE-LABlab(51.51, -43.69, 28.23)
CIE-LCHlch(51.51, 52.02, 147.13°)
OKLaboklab(56.73% -0.1177 0.0689)
OKLCHoklch(56.73% 0.136 149.6)
XYZxyz(11.5017, 19.7150, 9.3289)
Luminance0.1972 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8C48 #8C2A6E
analogous
#3D8C2A #2A8C48 #2A8C79
triadic
#2A8C48 #482A8C #8C482A
tetradic
#2A8C48 #2A3D8C #8C2A6E #8C792A
square
#2A8C48 #2A3D8C #8C2A6E #8C792A
split-complementary
#2A8C48 #792A8C #8C2A3D
monochromatic
#0E2E18 #1C5D30 #2A8C48 #38BB60 #61D083

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8C48#FFFFFF#000000##000000
##2A8C481.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)
#8D8043
Deuteranopia (green-blind)
#81774D
Tritanopia (blue-blind)
#00897C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a8c48;
/* rgb */ color: rgb(42, 140, 72);
/* oklch */ color: oklch(56.7% 0.136 149.6);
Tailwind
colors: {
  custom: {
    50: '#71ae7c',
    500: '#2a8c48',
    950: '#000000',
  },
}
SCSS
$custom: #2a8c48;
$custom-light: #71ae7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8c48",
  "rgb": {
    "r": 42,
    "g": 140,
    "b": 72
  },
  "hsl": {
    "h": 138.367,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56725,
    "c": 0.13642,
    "h": 149.6
  },
  "luminance": 0.19716
}

Semantic roles & 50–950 ramp

primary
#2A8C48
secondary
#B55C9A
accent
#4BB0DD
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2A8C48

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

Preview Lab → · Contrast checker → · Palette generator →

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