#2A8452#2A8452

#2A8452 is a mid, moderate green. Relative luminance 0.176; OKLCH L 54.7% C 0.115 H 155.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2A8452
RGBrgb(42, 132, 82)
HSLhsl(147, 52%, 34%)
HSVhsv(147, 68%, 52%)
CMYKcmyk(68.2%, 0%, 37.9%, 48.2%)
CIE-LABlab(49.01, -38.58, 19.47)
CIE-LCHlch(49.01, 43.21, 153.22°)
OKLaboklab(54.72% -0.1044 0.0488)
OKLCHoklch(54.72% 0.115 155)
XYZxyz(10.7282, 17.6028, 10.8133)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8452 #842A5C
analogous
#2F842A #2A8452 #2A847F
triadic
#2A8452 #522A84 #84522A
tetradic
#2A8452 #2A2F84 #842A5C #847F2A
square
#2A8452 #2A2F84 #842A5C #847F2A
split-complementary
#2A8452 #7F2A84 #842A2F
monochromatic
#0C2718 #1B5635 #2A8452 #39B26F #5DCB8E

Accessibility & contrast

On white

4.65
#2A8452 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#2A8452 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8452
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8452#FFFFFF#000000##FFFFFF
##2A84521.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84794F
Deuteranopia (green-blind)
#787155
Tritanopia (blue-blind)
#008377
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a8452;
/* rgb */ color: rgb(42, 132, 82);
/* oklch */ color: oklch(54.7% 0.115 155.0);
Tailwind
colors: {
  custom: {
    50: '#6fa883',
    500: '#2a8452',
    950: '#000000',
  },
}
SCSS
$custom: #2a8452;
$custom-light: #6fa883;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8452",
  "rgb": {
    "r": 42,
    "g": 132,
    "b": 82
  },
  "hsl": {
    "h": 146.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54718,
    "c": 0.11526,
    "h": 155
  },
  "luminance": 0.17604
}

Semantic roles & 50–950 ramp

primary
#2A8452
secondary
#B1598A
accent
#4D9CDB
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2A8452

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

Preview Lab → · Contrast checker → · Palette generator →

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