#2A8752#2A8752

#2A8752 is a mid, moderate green. Relative luminance 0.184; OKLCH L 55.5% C 0.120 H 154.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2A8752
RGBrgb(42, 135, 82)
HSLhsl(146, 53%, 35%)
HSVhsv(146, 69%, 53%)
CMYKcmyk(68.9%, 0%, 39.3%, 47.1%)
CIE-LABlab(50.01, -39.83, 20.80)
CIE-LCHlch(50.01, 44.94, 152.42°)
OKLaboklab(55.54% -0.1077 0.052)
OKLCHoklch(55.54% 0.12 154.2)
XYZxyz(11.1408, 18.4282, 10.9509)
Luminance0.1843 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8752 #872A5F
analogous
#31872A #2A8752 #2A8780
triadic
#2A8752 #522A87 #87522A
tetradic
#2A8752 #2A3187 #872A5F #87802A
square
#2A8752 #2A3187 #872A5F #87802A
split-complementary
#2A8752 #802A87 #872A31
monochromatic
#0D2A19 #1B5836 #2A8752 #39B66E #5ECD8E

Accessibility & contrast

On white

4.48
#2A8752 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#2A8752 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8752
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8752#FFFFFF#000000##000000
##2A87521.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C4E
Deuteranopia (green-blind)
#7B7455
Tritanopia (blue-blind)
#00857A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a8752;
/* rgb */ color: rgb(42, 135, 82);
/* oklch */ color: oklch(55.5% 0.120 154.2);
Tailwind
colors: {
  custom: {
    50: '#70ab83',
    500: '#2a8752',
    950: '#000000',
  },
}
SCSS
$custom: #2a8752;
$custom-light: #70ab83;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8752",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 82
  },
  "hsl": {
    "h": 145.806,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55541,
    "c": 0.11957,
    "h": 154.2
  },
  "luminance": 0.18429
}

Semantic roles & 50–950 ramp

primary
#2A8752
secondary
#B35A8D
accent
#4C9EDC
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2A8752

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

Preview Lab → · Contrast checker → · Palette generator →

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