#2A8050#2A8050

#2A8050 is a mid, moderate green. Relative luminance 0.165; OKLCH L 53.6% C 0.111 H 155.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2A8050
RGBrgb(42, 128, 80)
HSLhsl(147, 51%, 33%)
HSVhsv(147, 67%, 50%)
CMYKcmyk(67.2%, 0%, 37.5%, 49.8%)
CIE-LABlab(47.63, -37.30, 18.76)
CIE-LCHlch(47.63, 41.75, 153.30°)
OKLaboklab(53.57% -0.101 0.0471)
OKLCHoklch(53.57% 0.111 155)
XYZxyz(10.1211, 16.5087, 10.2410)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8050 #802A5A
analogous
#2F802A #2A8050 #2A807B
triadic
#2A8050 #502A80 #80502A
tetradic
#2A8050 #2A2F80 #802A5A #807B2A
square
#2A8050 #2A2F80 #802A5A #807B2A
split-complementary
#2A8050 #7B2A80 #802A2F
monochromatic
#0C2416 #1B5233 #2A8050 #39AE6D #5BC98C

Accessibility & contrast

On white

4.88
#2A8050 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#2A8050 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8050
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8050#FFFFFF#000000##FFFFFF
##2A80501.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80764D
Deuteranopia (green-blind)
#746E53
Tritanopia (blue-blind)
#007F74
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a8050;
/* rgb */ color: rgb(42, 128, 80);
/* oklch */ color: oklch(53.6% 0.111 155.0);
Tailwind
colors: {
  custom: {
    50: '#6ea581',
    500: '#2a8050',
    950: '#000000',
  },
}
SCSS
$custom: #2a8050;
$custom-light: #6ea581;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8050",
  "rgb": {
    "r": 42,
    "g": 128,
    "b": 80
  },
  "hsl": {
    "h": 146.512,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53574,
    "c": 0.11144,
    "h": 155
  },
  "luminance": 0.1651
}

Semantic roles & 50–950 ramp

primary
#2A8050
secondary
#AF5788
accent
#4E9CDA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2A8050

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

Preview Lab → · Contrast checker → · Palette generator →

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