#2A882A#2A882A

#2A882A is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.2% C 0.157 H 143.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2A882A
RGBrgb(42, 136, 42)
HSLhsl(120, 53%, 35%)
HSVhsv(120, 69%, 53%)
CMYKcmyk(69.1%, 0%, 69.1%, 46.7%)
CIE-LABlab(49.82, -46.28, 41.01)
CIE-LCHlch(49.82, 61.83, 138.45°)
OKLaboklab(55.21% -0.1257 0.0944)
OKLCHoklch(55.21% 0.157 143.1)
XYZxyz(10.1763, 18.2667, 5.1796)
Luminance0.1827 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A882A #882A88
analogous
#59882A #2A882A #2A8859
triadic
#2A882A #2A2A88 #882A2A
tetradic
#2A882A #2A5988 #882A88 #88592A
square
#2A882A #2A5988 #882A88 #88592A
split-complementary
#2A882A #592A88 #882A59
monochromatic
#0D2A0D #1C591C #2A882A #38B738 #5FCE5F

Accessibility & contrast

On white

4.51
#2A882A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#2A882A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A882A
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A882A#FFFFFF#000000##000000
##2A882A1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1D
Deuteranopia (green-blind)
#807433
Tritanopia (blue-blind)
#128475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a882a;
/* rgb */ color: rgb(42, 136, 42);
/* oklch */ color: oklch(55.2% 0.157 143.1);
Tailwind
colors: {
  custom: {
    50: '#71ac68',
    500: '#2a882a',
    950: '#000000',
  },
}
SCSS
$custom: #2a882a;
$custom-light: #71ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#2a882a",
  "rgb": {
    "r": 42,
    "g": 136,
    "b": 42
  },
  "hsl": {
    "h": 120,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55209,
    "c": 0.15719,
    "h": 143.1
  },
  "luminance": 0.18268
}

Semantic roles & 50–950 ramp

primary
#2A882A
secondary
#B35BB3
accent
#4CDCDC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A882A

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

Preview Lab → · Contrast checker → · Palette generator →

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