#2A8734#2A8734

#2A8734 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.0% C 0.148 H 144.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2A8734
RGBrgb(42, 135, 52)
HSLhsl(126, 53%, 35%)
HSVhsv(126, 69%, 53%)
CMYKcmyk(68.9%, 0%, 61.5%, 47.1%)
CIE-LABlab(49.58, -44.76, 36.14)
CIE-LCHlch(49.58, 57.53, 141.08°)
OKLaboklab(55.04% -0.1211 0.0851)
OKLCHoklch(55.04% 0.148 144.9)
XYZxyz(10.2380, 18.0670, 6.1959)
Luminance0.1807 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8734 #872A7D
analogous
#4E872A #2A8734 #2A8763
triadic
#2A8734 #342A87 #87342A
tetradic
#2A8734 #2A4E87 #872A7D #87632A
square
#2A8734 #2A4E87 #872A7D #87632A
split-complementary
#2A8734 #632A87 #872A4E
monochromatic
#0D2A10 #1B5822 #2A8734 #39B646 #5ECD6A

Accessibility & contrast

On white

4.55
#2A8734 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#2A8734 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8734
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8734#FFFFFF#000000##000000
##2A87341.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B2B
Deuteranopia (green-blind)
#7E733B
Tritanopia (blue-blind)
#0E8375
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a8734;
/* rgb */ color: rgb(42, 135, 52);
/* oklch */ color: oklch(55.0% 0.148 144.9);
Tailwind
colors: {
  custom: {
    50: '#71ab6e',
    500: '#2a8734',
    950: '#000000',
  },
}
SCSS
$custom: #2a8734;
$custom-light: #71ab6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8734",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 52
  },
  "hsl": {
    "h": 126.452,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55041,
    "c": 0.14799,
    "h": 144.9
  },
  "luminance": 0.18068
}

Semantic roles & 50–950 ramp

primary
#2A8734
secondary
#B35AA9
accent
#4CCCDC
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #2A8734

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

Preview Lab → · Contrast checker → · Palette generator →

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