#2A8E34#2A8E34

#2A8E34 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.157 H 144.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2A8E34
RGBrgb(42, 142, 52)
HSLhsl(126, 54%, 36%)
HSVhsv(126, 70%, 56%)
CMYKcmyk(70.4%, 0%, 63.4%, 44.3%)
CIE-LABlab(51.93, -47.34, 38.83)
CIE-LCHlch(51.93, 61.23, 140.64°)
OKLaboklab(56.99% -0.1281 0.0909)
OKLCHoklch(56.99% 0.157 144.6)
XYZxyz(11.2469, 20.0850, 6.5322)
Luminance0.2009 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8E34 #8E2A84
analogous
#528E2A #2A8E34 #2A8E66
triadic
#2A8E34 #342A8E #8E342A
tetradic
#2A8E34 #2A528E #8E2A84 #8E662A
square
#2A8E34 #2A528E #8E2A84 #8E662A
split-complementary
#2A8E34 #662A8E #8E2A52
monochromatic
#0E3011 #1C5F23 #2A8E34 #38BD45 #62D16D

Accessibility & contrast

On white

4.19
#2A8E34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#2A8E34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8E34
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8E34#FFFFFF#000000##000000
##2A8E341.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91812A
Deuteranopia (green-blind)
#85793C
Tritanopia (blue-blind)
#078A7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a8e34;
/* rgb */ color: rgb(42, 142, 52);
/* oklch */ color: oklch(57.0% 0.157 144.6);
Tailwind
colors: {
  custom: {
    50: '#72b06f',
    500: '#2a8e34',
    950: '#000000',
  },
}
SCSS
$custom: #2a8e34;
$custom-light: #72b06f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8e34",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 52
  },
  "hsl": {
    "h": 126,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56991,
    "c": 0.15704,
    "h": 144.6
  },
  "luminance": 0.20086
}

Semantic roles & 50–950 ramp

primary
#2A8E34
secondary
#B65DAE
accent
#4ACFDE
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A8E34

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

Preview Lab → · Contrast checker → · Palette generator →

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