#2A8D48#2A8D48

#2A8D48 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.138 H 149.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2A8D48
RGBrgb(42, 141, 72)
HSLhsl(138, 54%, 36%)
HSVhsv(138, 70%, 55%)
CMYKcmyk(70.2%, 0%, 48.9%, 44.7%)
CIE-LABlab(51.85, -44.08, 28.65)
CIE-LCHlch(51.85, 52.58, 146.98°)
OKLaboklab(57% -0.1188 0.0699)
OKLCHoklch(57% 0.138 149.5)
XYZxyz(11.6485, 20.0086, 9.3778)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8D48 #8D2A6F
analogous
#3D8D2A #2A8D48 #2A8D79
triadic
#2A8D48 #482A8D #8D482A
tetradic
#2A8D48 #2A3D8D #8D2A6F #8D792A
square
#2A8D48 #2A3D8D #8D2A6F #8D792A
split-complementary
#2A8D48 #792A8D #8D2A3D
monochromatic
#0E2F18 #1C5E30 #2A8D48 #38BC60 #61D083

Accessibility & contrast

On white

4.20
#2A8D48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#2A8D48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8D48
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8D48#FFFFFF#000000##000000
##2A8D481.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8142
Deuteranopia (green-blind)
#82784D
Tritanopia (blue-blind)
#008A7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a8d48;
/* rgb */ color: rgb(42, 141, 72);
/* oklch */ color: oklch(57.0% 0.138 149.5);
Tailwind
colors: {
  custom: {
    50: '#71af7c',
    500: '#2a8d48',
    950: '#000000',
  },
}
SCSS
$custom: #2a8d48;
$custom-light: #71af7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8d48",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 72
  },
  "hsl": {
    "h": 138.182,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57,
    "c": 0.1378,
    "h": 149.5
  },
  "luminance": 0.2001
}

Semantic roles & 50–950 ramp

primary
#2A8D48
secondary
#B65D9B
accent
#4AB1DD
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2A8D48

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

Preview Lab → · Contrast checker → · Palette generator →

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