#2A8550#2A8550

#2A8550 is a mid, moderate green. Relative luminance 0.178; OKLCH L 54.9% C 0.119 H 153.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2A8550
RGBrgb(42, 133, 80)
HSLhsl(145, 52%, 34%)
HSVhsv(145, 68%, 52%)
CMYKcmyk(68.4%, 0%, 39.8%, 47.8%)
CIE-LABlab(49.31, -39.40, 20.99)
CIE-LCHlch(49.31, 44.65, 151.95°)
OKLaboklab(54.95% -0.1065 0.0524)
OKLCHoklch(54.95% 0.119 153.8)
XYZxyz(10.7894, 17.8453, 10.4637)
Luminance0.1785 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8550 #852A5F
analogous
#32852A #2A8550 #2A857E
triadic
#2A8550 #502A85 #85502A
tetradic
#2A8550 #2A3285 #852A5F #857E2A
square
#2A8550 #2A3285 #852A5F #857E2A
split-complementary
#2A8550 #7E2A85 #852A32
monochromatic
#0D2818 #1B5634 #2A8550 #39B46C #5DCC8C

Accessibility & contrast

On white

4.60
#2A8550 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#2A8550 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8550
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8550#FFFFFF#000000##FFFFFF
##2A85501.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857A4C
Deuteranopia (green-blind)
#797253
Tritanopia (blue-blind)
#008378
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a8550;
/* rgb */ color: rgb(42, 133, 80);
/* oklch */ color: oklch(54.9% 0.119 153.8);
Tailwind
colors: {
  custom: {
    50: '#6fa981',
    500: '#2a8550',
    950: '#000000',
  },
}
SCSS
$custom: #2a8550;
$custom-light: #6fa981;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8550",
  "rgb": {
    "r": 42,
    "g": 133,
    "b": 80
  },
  "hsl": {
    "h": 145.055,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5495,
    "c": 0.11868,
    "h": 153.8
  },
  "luminance": 0.17846
}

Semantic roles & 50–950 ramp

primary
#2A8550
secondary
#B2598D
accent
#4CA0DB
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2A8550

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

Preview Lab → · Contrast checker → · Palette generator →

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