#2A873D#2A873D

#2A873D is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.2% C 0.140 H 147.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2A873D
RGBrgb(42, 135, 61)
HSLhsl(132, 53%, 35%)
HSVhsv(132, 69%, 53%)
CMYKcmyk(68.9%, 0%, 54.8%, 47.1%)
CIE-LABlab(49.68, -43.51, 31.75)
CIE-LCHlch(49.68, 53.87, 143.88°)
OKLaboklab(55.17% -0.1174 0.0762)
OKLCHoklch(55.17% 0.14 147)
XYZxyz(10.4604, 18.1560, 7.3672)
Luminance0.1816 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A873D #872A74
analogous
#46872A #2A873D #2A876C
triadic
#2A873D #3D2A87 #873D2A
tetradic
#2A873D #2A4687 #872A74 #876C2A
square
#2A873D #2A4687 #872A74 #876C2A
split-complementary
#2A873D #6C2A87 #872A46
monochromatic
#0D2A13 #1B5828 #2A873D #39B652 #5ECD75

Accessibility & contrast

On white

4.53
#2A873D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#2A873D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A873D
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A873D#FFFFFF#000000##000000
##2A873D1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B36
Deuteranopia (green-blind)
#7D7343
Tritanopia (blue-blind)
#078476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a873d;
/* rgb */ color: rgb(42, 135, 61);
/* oklch */ color: oklch(55.2% 0.140 147.0);
Tailwind
colors: {
  custom: {
    50: '#70ab74',
    500: '#2a873d',
    950: '#000000',
  },
}
SCSS
$custom: #2a873d;
$custom-light: #70ab74;
$custom-dark: #000000;
JSON
{
  "hex": "#2a873d",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 61
  },
  "hsl": {
    "h": 132.258,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55165,
    "c": 0.13997,
    "h": 147
  },
  "luminance": 0.18157
}

Semantic roles & 50–950 ramp

primary
#2A873D
secondary
#B35AA1
accent
#4CBFDC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2A873D

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

Preview Lab → · Contrast checker → · Palette generator →

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