#2A873F#2A873F

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

Color values

HEX#2A873F
RGBrgb(42, 135, 63)
HSLhsl(134, 53%, 35%)
HSVhsv(134, 69%, 53%)
CMYKcmyk(68.9%, 0%, 53.3%, 47.1%)
CIE-LABlab(49.71, -43.21, 30.75)
CIE-LCHlch(49.71, 53.03, 144.57°)
OKLaboklab(55.2% -0.1165 0.0741)
OKLCHoklch(55.2% 0.138 147.5)
XYZxyz(10.5153, 18.1780, 7.6562)
Luminance0.1818 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A873F #872A72
analogous
#44872A #2A873F #2A876D
triadic
#2A873F #3F2A87 #873F2A
tetradic
#2A873F #2A4487 #872A72 #876D2A
square
#2A873F #2A4487 #872A72 #876D2A
split-complementary
#2A873F #6D2A87 #872A44
monochromatic
#0D2A13 #1B5829 #2A873F #39B655 #5ECD77

Accessibility & contrast

On white

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

On black

4.64
#2A873F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A873F
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A873F#FFFFFF#000000##000000
##2A873F1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B39
Deuteranopia (green-blind)
#7D7344
Tritanopia (blue-blind)
#058476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a873f;
/* rgb */ color: rgb(42, 135, 63);
/* oklch */ color: oklch(55.2% 0.138 147.5);
Tailwind
colors: {
  custom: {
    50: '#70ab76',
    500: '#2a873f',
    950: '#000000',
  },
}
SCSS
$custom: #2a873f;
$custom-light: #70ab76;
$custom-dark: #000000;
JSON
{
  "hex": "#2a873f",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 63
  },
  "hsl": {
    "h": 133.548,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55195,
    "c": 0.13811,
    "h": 147.5
  },
  "luminance": 0.18179
}

Semantic roles & 50–950 ramp

primary
#2A873F
secondary
#B35A9F
accent
#4CBBDC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2A873F

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

Preview Lab → · Contrast checker → · Palette generator →

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