#2A8440#2A8440

#2A8440 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.4% C 0.133 H 148.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2A8440
RGBrgb(42, 132, 64)
HSLhsl(135, 52%, 34%)
HSVhsv(135, 68%, 52%)
CMYKcmyk(68.2%, 0%, 51.5%, 48.2%)
CIE-LABlab(48.72, -41.88, 28.99)
CIE-LCHlch(48.72, 50.93, 145.31°)
OKLaboklab(54.38% -0.1129 0.0703)
OKLCHoklch(54.38% 0.133 148.1)
XYZxyz(10.1308, 17.3639, 7.6672)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8440 #842A6E
analogous
#41842A #2A8440 #2A846D
triadic
#2A8440 #402A84 #84402A
tetradic
#2A8440 #2A4184 #842A6E #846D2A
square
#2A8440 #2A4184 #842A6E #846D2A
split-complementary
#2A8440 #6D2A84 #842A41
monochromatic
#0C2713 #1B5629 #2A8440 #39B257 #5DCB78

Accessibility & contrast

On white

4.69
#2A8440 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2A8440 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8440
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8440#FFFFFF#000000##FFFFFF
##2A84401.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85783A
Deuteranopia (green-blind)
#7A7145
Tritanopia (blue-blind)
#078174
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a8440;
/* rgb */ color: rgb(42, 132, 64);
/* oklch */ color: oklch(54.4% 0.133 148.1);
Tailwind
colors: {
  custom: {
    50: '#6fa976',
    500: '#2a8440',
    950: '#000000',
  },
}
SCSS
$custom: #2a8440;
$custom-light: #6fa976;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8440",
  "rgb": {
    "r": 42,
    "g": 132,
    "b": 64
  },
  "hsl": {
    "h": 134.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54378,
    "c": 0.13301,
    "h": 148.1
  },
  "luminance": 0.17365
}

Semantic roles & 50–950 ramp

primary
#2A8440
secondary
#B1599B
accent
#4DB8DB
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2A8440

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

Preview Lab → · Contrast checker → · Palette generator →

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