#2A8D34#2A8D34

#2A8D34 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.156 H 144.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2A8D34
RGBrgb(42, 141, 52)
HSLhsl(126, 54%, 36%)
HSVhsv(126, 70%, 55%)
CMYKcmyk(70.2%, 0%, 63.1%, 44.7%)
CIE-LABlab(51.60, -46.98, 38.45)
CIE-LCHlch(51.60, 60.71, 140.70°)
OKLaboklab(56.71% -0.1271 0.0901)
OKLCHoklch(56.71% 0.156 144.7)
XYZxyz(11.0988, 19.7887, 6.4828)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8D34 #8D2A83
analogous
#518D2A #2A8D34 #2A8D65
triadic
#2A8D34 #342A8D #8D342A
tetradic
#2A8D34 #2A518D #8D2A83 #8D652A
square
#2A8D34 #2A518D #8D2A83 #8D652A
split-complementary
#2A8D34 #652A8D #8D2A51
monochromatic
#0E2F11 #1C5E23 #2A8D34 #38BC45 #61D06D

Accessibility & contrast

On white

4.24
#2A8D34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#2A8D34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8D34
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8D34#FFFFFF#000000##000000
##2A8D341.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#90802A
Deuteranopia (green-blind)
#84783B
Tritanopia (blue-blind)
#08897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a8d34;
/* rgb */ color: rgb(42, 141, 52);
/* oklch */ color: oklch(56.7% 0.156 144.7);
Tailwind
colors: {
  custom: {
    50: '#72af6f',
    500: '#2a8d34',
    950: '#000000',
  },
}
SCSS
$custom: #2a8d34;
$custom-light: #72af6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8d34",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 52
  },
  "hsl": {
    "h": 126.061,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56713,
    "c": 0.15577,
    "h": 144.7
  },
  "luminance": 0.1979
}

Semantic roles & 50–950 ramp

primary
#2A8D34
secondary
#B65DAD
accent
#4ACFDD
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2A8D34

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

Preview Lab → · Contrast checker → · Palette generator →

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