#2A8748#2A8748

#2A8748 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.129 H 150.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2A8748
RGBrgb(42, 135, 72)
HSLhsl(139, 53%, 35%)
HSVhsv(139, 69%, 53%)
CMYKcmyk(68.9%, 0%, 46.7%, 47.1%)
CIE-LABlab(49.84, -41.72, 26.11)
CIE-LCHlch(49.84, 49.21, 147.96°)
OKLaboklab(55.35% -0.1125 0.0641)
OKLCHoklch(55.35% 0.129 150.3)
XYZxyz(10.7877, 18.2869, 9.0908)
Luminance0.1829 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8748 #872A69
analogous
#3B872A #2A8748 #2A8777
triadic
#2A8748 #482A87 #87482A
tetradic
#2A8748 #2A3B87 #872A69 #87772A
square
#2A8748 #2A3B87 #872A69 #87772A
split-complementary
#2A8748 #772A87 #872A3B
monochromatic
#0D2A16 #1B582F #2A8748 #39B661 #5ECD82

Accessibility & contrast

On white

4.51
#2A8748 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#2A8748 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8748
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8748#FFFFFF#000000##000000
##2A87481.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B43
Deuteranopia (green-blind)
#7C734C
Tritanopia (blue-blind)
#008578
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a8748;
/* rgb */ color: rgb(42, 135, 72);
/* oklch */ color: oklch(55.3% 0.129 150.3);
Tailwind
colors: {
  custom: {
    50: '#70ab7c',
    500: '#2a8748',
    950: '#000000',
  },
}
SCSS
$custom: #2a8748;
$custom-light: #70ab7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8748",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 72
  },
  "hsl": {
    "h": 139.355,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55346,
    "c": 0.12944,
    "h": 150.3
  },
  "luminance": 0.18288
}

Semantic roles & 50–950 ramp

primary
#2A8748
secondary
#B35A96
accent
#4CADDC
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2A8748

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

Preview Lab → · Contrast checker → · Palette generator →

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