#2A8640#2A8640

#2A8640 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.136 H 147.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#2A8640
RGBrgb(42, 134, 64)
HSLhsl(134, 52%, 35%)
HSVhsv(134, 69%, 53%)
CMYKcmyk(68.7%, 0%, 52.2%, 47.5%)
CIE-LABlab(49.39, -42.66, 29.82)
CIE-LCHlch(49.39, 52.05, 145.04°)
OKLaboklab(54.93% -0.115 0.0721)
OKLCHoklch(54.93% 0.136 147.9)
XYZxyz(10.4046, 17.9115, 7.7584)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8640 #862A70
analogous
#42862A #2A8640 #2A866E
triadic
#2A8640 #402A86 #86402A
tetradic
#2A8640 #2A4286 #862A70 #866E2A
square
#2A8640 #2A4286 #862A70 #866E2A
split-complementary
#2A8640 #6E2A86 #862A42
monochromatic
#0D2913 #1B572A #2A8640 #39B556 #5ECD78

Accessibility & contrast

On white

4.58
#2A8640 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#2A8640 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8640
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8640#FFFFFF#000000##000000
##2A86401.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877A3A
Deuteranopia (green-blind)
#7C7245
Tritanopia (blue-blind)
#058376
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a8640;
/* rgb */ color: rgb(42, 134, 64);
/* oklch */ color: oklch(54.9% 0.136 147.9);
Tailwind
colors: {
  custom: {
    50: '#70aa76',
    500: '#2a8640',
    950: '#000000',
  },
}
SCSS
$custom: #2a8640;
$custom-light: #70aa76;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8640",
  "rgb": {
    "r": 42,
    "g": 134,
    "b": 64
  },
  "hsl": {
    "h": 134.348,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54933,
    "c": 0.13579,
    "h": 147.9
  },
  "luminance": 0.17913
}

Semantic roles & 50–950 ramp

primary
#2A8640
secondary
#B25A9D
accent
#4CB9DC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2A8640

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

Preview Lab → · Contrast checker → · Palette generator →

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