#2A8A34#2A8A34

#2A8A34 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.152 H 144.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2A8A34
RGBrgb(42, 138, 52)
HSLhsl(126, 53%, 35%)
HSVhsv(126, 70%, 54%)
CMYKcmyk(69.6%, 0%, 62.3%, 45.9%)
CIE-LABlab(50.59, -45.88, 37.30)
CIE-LCHlch(50.59, 59.13, 140.89°)
OKLaboklab(55.88% -0.1241 0.0876)
OKLCHoklch(55.88% 0.152 144.8)
XYZxyz(10.6625, 18.9160, 6.3374)
Luminance0.1892 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8A34 #8A2A80
analogous
#508A2A #2A8A34 #2A8A64
triadic
#2A8A34 #342A8A #8A342A
tetradic
#2A8A34 #2A508A #8A2A80 #8A642A
square
#2A8A34 #2A508A #8A2A80 #8A642A
split-complementary
#2A8A34 #642A8A #8A2A50
monochromatic
#0D2C11 #1C5B22 #2A8A34 #38B946 #60CF6B

Accessibility & contrast

On white

4.39
#2A8A34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2A8A34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8A34
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8A34#FFFFFF#000000##000000
##2A8A341.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D2B
Deuteranopia (green-blind)
#81753B
Tritanopia (blue-blind)
#0B8678
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a8a34;
/* rgb */ color: rgb(42, 138, 52);
/* oklch */ color: oklch(55.9% 0.152 144.8);
Tailwind
colors: {
  custom: {
    50: '#71ad6f',
    500: '#2a8a34',
    950: '#000000',
  },
}
SCSS
$custom: #2a8a34;
$custom-light: #71ad6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8a34",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 52
  },
  "hsl": {
    "h": 126.25,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55878,
    "c": 0.1519,
    "h": 144.8
  },
  "luminance": 0.18917
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A8A34

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

Preview Lab → · Contrast checker → · Palette generator →

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