#2A8B34#2A8B34

#2A8B34 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.153 H 144.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2A8B34
RGBrgb(42, 139, 52)
HSLhsl(126, 54%, 35%)
HSVhsv(126, 70%, 55%)
CMYKcmyk(69.8%, 0%, 62.6%, 45.5%)
CIE-LABlab(50.93, -46.25, 37.69)
CIE-LCHlch(50.93, 59.66, 140.82°)
OKLaboklab(56.16% -0.1251 0.0884)
OKLCHoklch(56.16% 0.153 144.7)
XYZxyz(10.8066, 19.2043, 6.3854)
Luminance0.1920 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8B34 #8B2A81
analogous
#508B2A #2A8B34 #2A8B65
triadic
#2A8B34 #342A8B #8B342A
tetradic
#2A8B34 #2A508B #8B2A81 #8B652A
square
#2A8B34 #2A508B #8B2A81 #8B652A
split-complementary
#2A8B34 #652A8B #8B2A50
monochromatic
#0E2D11 #1C5C22 #2A8B34 #38BA46 #60CF6C

Accessibility & contrast

On white

4.34
#2A8B34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#2A8B34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8B34
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8B34#FFFFFF#000000##000000
##2A8B341.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E2A
Deuteranopia (green-blind)
#82763B
Tritanopia (blue-blind)
#0A8778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2a8b34;
/* rgb */ color: rgb(42, 139, 52);
/* oklch */ color: oklch(56.2% 0.153 144.7);
Tailwind
colors: {
  custom: {
    50: '#71ae6f',
    500: '#2a8b34',
    950: '#000000',
  },
}
SCSS
$custom: #2a8b34;
$custom-light: #71ae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8b34",
  "rgb": {
    "r": 42,
    "g": 139,
    "b": 52
  },
  "hsl": {
    "h": 126.186,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56157,
    "c": 0.1532,
    "h": 144.7
  },
  "luminance": 0.19205
}

Semantic roles & 50–950 ramp

primary
#2A8B34
secondary
#B55CAC
accent
#4BCEDD
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2A8B34

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

Preview Lab → · Contrast checker → · Palette generator →

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