#2A8741#2A8741

#2A8741 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.2% C 0.136 H 148.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2A8741
RGBrgb(42, 135, 65)
HSLhsl(135, 53%, 35%)
HSVhsv(135, 69%, 53%)
CMYKcmyk(68.9%, 0%, 51.9%, 47.1%)
CIE-LABlab(49.74, -42.89, 29.73)
CIE-LCHlch(49.74, 52.19, 145.27°)
OKLaboklab(55.23% -0.1156 0.072)
OKLCHoklch(55.23% 0.136 148.1)
XYZxyz(10.5722, 18.2007, 7.9559)
Luminance0.1820 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8741 #872A70
analogous
#41872A #2A8741 #2A8770
triadic
#2A8741 #412A87 #87412A
tetradic
#2A8741 #2A4187 #872A70 #87702A
square
#2A8741 #2A4187 #872A70 #87702A
split-complementary
#2A8741 #702A87 #872A41
monochromatic
#0D2A14 #1B582B #2A8741 #39B657 #5ECD7A

Accessibility & contrast

On white

4.53
#2A8741 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#2A8741 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8741
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8741#FFFFFF#000000##000000
##2A87411.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3B
Deuteranopia (green-blind)
#7D7346
Tritanopia (blue-blind)
#038477
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a8741;
/* rgb */ color: rgb(42, 135, 65);
/* oklch */ color: oklch(55.2% 0.136 148.1);
Tailwind
colors: {
  custom: {
    50: '#70ab77',
    500: '#2a8741',
    950: '#000000',
  },
}
SCSS
$custom: #2a8741;
$custom-light: #70ab77;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8741",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 65
  },
  "hsl": {
    "h": 134.839,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55227,
    "c": 0.13622,
    "h": 148.1
  },
  "luminance": 0.18202
}

Semantic roles & 50–950 ramp

primary
#2A8741
secondary
#B35A9D
accent
#4CB8DC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2A8741

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

Preview Lab → · Contrast checker → · Palette generator →

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