#2A873E#2A873E

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

Color values

HEX#2A873E
RGBrgb(42, 135, 62)
HSLhsl(133, 53%, 35%)
HSVhsv(133, 69%, 53%)
CMYKcmyk(68.9%, 0%, 54.1%, 47.1%)
CIE-LABlab(49.70, -43.36, 31.25)
CIE-LCHlch(49.70, 53.45, 144.22°)
OKLaboklab(55.18% -0.117 0.0752)
OKLCHoklch(55.18% 0.139 147.3)
XYZxyz(10.4876, 18.1669, 7.5103)
Luminance0.1817 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A873E #872A73
analogous
#45872A #2A873E #2A876C
triadic
#2A873E #3E2A87 #873E2A
tetradic
#2A873E #2A4587 #872A73 #876C2A
square
#2A873E #2A4587 #872A73 #876C2A
split-complementary
#2A873E #6C2A87 #872A45
monochromatic
#0D2A13 #1B5829 #2A873E #39B653 #5ECD76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A873E#FFFFFF#000000##000000
##2A873E1.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)
#897B38
Deuteranopia (green-blind)
#7D7343
Tritanopia (blue-blind)
#068476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a873e;
/* rgb */ color: rgb(42, 135, 62);
/* oklch */ color: oklch(55.2% 0.139 147.3);
Tailwind
colors: {
  custom: {
    50: '#70ab75',
    500: '#2a873e',
    950: '#000000',
  },
}
SCSS
$custom: #2a873e;
$custom-light: #70ab75;
$custom-dark: #000000;
JSON
{
  "hex": "#2a873e",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 62
  },
  "hsl": {
    "h": 132.903,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5518,
    "c": 0.13904,
    "h": 147.3
  },
  "luminance": 0.18168
}

Semantic roles & 50–950 ramp

primary
#2A873E
secondary
#B35AA0
accent
#4CBDDC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2A873E

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

Preview Lab → · Contrast checker → · Palette generator →

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