#2A8745#2A8745

#2A8745 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.3% C 0.132 H 149.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2A8745
RGBrgb(42, 135, 69)
HSLhsl(137, 53%, 35%)
HSVhsv(137, 69%, 53%)
CMYKcmyk(68.9%, 0%, 48.9%, 47.1%)
CIE-LABlab(49.80, -42.24, 27.67)
CIE-LCHlch(49.80, 50.49, 146.77°)
OKLaboklab(55.29% -0.1138 0.0675)
OKLCHoklch(55.29% 0.132 149.3)
XYZxyz(10.6922, 18.2487, 8.5879)
Luminance0.1825 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8745 #872A6C
analogous
#3E872A #2A8745 #2A8773
triadic
#2A8745 #452A87 #87452A
tetradic
#2A8745 #2A3E87 #872A6C #87732A
square
#2A8745 #2A3E87 #872A6C #87732A
split-complementary
#2A8745 #732A87 #872A3E
monochromatic
#0D2A15 #1B582D #2A8745 #39B65D #5ECD7E

Accessibility & contrast

On white

4.52
#2A8745 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#2A8745 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8745
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8745#FFFFFF#000000##000000
##2A87451.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B40
Deuteranopia (green-blind)
#7D734A
Tritanopia (blue-blind)
#008477
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a8745;
/* rgb */ color: rgb(42, 135, 69);
/* oklch */ color: oklch(55.3% 0.132 149.3);
Tailwind
colors: {
  custom: {
    50: '#70ab7a',
    500: '#2a8745',
    950: '#000000',
  },
}
SCSS
$custom: #2a8745;
$custom-light: #70ab7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8745",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 69
  },
  "hsl": {
    "h": 137.419,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55293,
    "c": 0.13237,
    "h": 149.3
  },
  "luminance": 0.1825
}

Semantic roles & 50–950 ramp

primary
#2A8745
secondary
#B35A99
accent
#4CB2DC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2A8745

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

Preview Lab → · Contrast checker → · Palette generator →

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