#2A8552#2A8552

#2A8552 is a mid, moderate green. Relative luminance 0.179; OKLCH L 55.0% C 0.117 H 154.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2A8552
RGBrgb(42, 133, 82)
HSLhsl(146, 52%, 34%)
HSVhsv(146, 68%, 52%)
CMYKcmyk(68.4%, 0%, 38.3%, 47.8%)
CIE-LABlab(49.34, -39.00, 19.92)
CIE-LCHlch(49.34, 43.79, 152.95°)
OKLaboklab(54.99% -0.1055 0.0499)
OKLCHoklch(54.99% 0.117 154.7)
XYZxyz(10.8644, 17.8753, 10.8587)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8552 #852A5D
analogous
#2F852A #2A8552 #2A8580
triadic
#2A8552 #522A85 #85522A
tetradic
#2A8552 #2A2F85 #852A5D #85802A
square
#2A8552 #2A2F85 #852A5D #85802A
split-complementary
#2A8552 #802A85 #852A2F
monochromatic
#0D2819 #1B5635 #2A8552 #39B46F #5DCC8E

Accessibility & contrast

On white

4.59
#2A8552 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#2A8552 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8552
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8552#FFFFFF#000000##FFFFFF
##2A85521.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857A4F
Deuteranopia (green-blind)
#797255
Tritanopia (blue-blind)
#008478
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a8552;
/* rgb */ color: rgb(42, 133, 82);
/* oklch */ color: oklch(55.0% 0.117 154.7);
Tailwind
colors: {
  custom: {
    50: '#6fa983',
    500: '#2a8552',
    950: '#000000',
  },
}
SCSS
$custom: #2a8552;
$custom-light: #6fa983;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8552",
  "rgb": {
    "r": 42,
    "g": 133,
    "b": 82
  },
  "hsl": {
    "h": 146.374,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54992,
    "c": 0.1167,
    "h": 154.7
  },
  "luminance": 0.17876
}

Semantic roles & 50–950 ramp

primary
#2A8552
secondary
#B2598B
accent
#4C9DDB
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2A8552

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

Preview Lab → · Contrast checker → · Palette generator →

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