#2A8840#2A8840

#2A8840 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.5% C 0.139 H 147.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2A8840
RGBrgb(42, 136, 64)
HSLhsl(134, 53%, 35%)
HSVhsv(134, 69%, 53%)
CMYKcmyk(69.1%, 0%, 52.9%, 46.7%)
CIE-LABlab(50.06, -43.44, 30.65)
CIE-LCHlch(50.06, 53.17, 144.79°)
OKLaboklab(55.49% -0.1171 0.074)
OKLCHoklch(55.49% 0.139 147.7)
XYZxyz(10.6836, 18.4696, 7.8514)
Luminance0.1847 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8840 #882A72
analogous
#43882A #2A8840 #2A886F
triadic
#2A8840 #402A88 #88402A
tetradic
#2A8840 #2A4388 #882A72 #886F2A
square
#2A8840 #2A4388 #882A72 #886F2A
split-complementary
#2A8840 #6F2A88 #882A43
monochromatic
#0D2A14 #1C592A #2A8840 #38B756 #5FCE79

Accessibility & contrast

On white

4.47
#2A8840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#2A8840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8840
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8840#FFFFFF#000000##000000
##2A88401.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7C3A
Deuteranopia (green-blind)
#7E7445
Tritanopia (blue-blind)
#038577
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a8840;
/* rgb */ color: rgb(42, 136, 64);
/* oklch */ color: oklch(55.5% 0.139 147.7);
Tailwind
colors: {
  custom: {
    50: '#70ac76',
    500: '#2a8840',
    950: '#000000',
  },
}
SCSS
$custom: #2a8840;
$custom-light: #70ac76;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8840",
  "rgb": {
    "r": 42,
    "g": 136,
    "b": 64
  },
  "hsl": {
    "h": 134.043,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55488,
    "c": 0.13854,
    "h": 147.7
  },
  "luminance": 0.18471
}

Semantic roles & 50–950 ramp

primary
#2A8840
secondary
#B35B9F
accent
#4CBADC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2A8840

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

Preview Lab → · Contrast checker → · Palette generator →

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