#2A7941#2A7941

#2A7941 is a mid, moderate green. Relative luminance 0.145; OKLCH L 51.3% C 0.116 H 149.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2A7941
RGBrgb(42, 121, 65)
HSLhsl(137, 48%, 32%)
HSVhsv(137, 65%, 47%)
CMYKcmyk(65.3%, 0%, 46.3%, 52.5%)
CIE-LABlab(45.01, -37.24, 23.76)
CIE-LCHlch(45.01, 44.17, 147.46°)
OKLaboklab(51.33% -0.1005 0.0584)
OKLCHoklch(51.33% 0.116 149.8)
XYZxyz(8.7457, 14.5478, 7.3471)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7941 #792A62
analogous
#3B792A #2A7941 #2A7969
triadic
#2A7941 #412A79 #79412A
tetradic
#2A7941 #2A3B79 #792A62 #79692A
square
#2A7941 #2A3B79 #792A62 #79692A
split-complementary
#2A7941 #692A79 #792A3B
monochromatic
#0A1E10 #1A4C29 #2A7941 #3AA659 #58C578

Accessibility & contrast

On white

5.37
#2A7941 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2A7941 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7941
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7941#FFFFFF#000000##FFFFFF
##2A79411.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3D
Deuteranopia (green-blind)
#706845
Tritanopia (blue-blind)
#0F776B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a7941;
/* rgb */ color: rgb(42, 121, 65);
/* oklch */ color: oklch(51.3% 0.116 149.8);
Tailwind
colors: {
  custom: {
    50: '#6da076',
    500: '#2a7941',
    950: '#000000',
  },
}
SCSS
$custom: #2a7941;
$custom-light: #6da076;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7941",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 65
  },
  "hsl": {
    "h": 137.468,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51327,
    "c": 0.11628,
    "h": 149.8
  },
  "luminance": 0.14549
}

Semantic roles & 50–950 ramp

primary
#2A7941
secondary
#AB5491
accent
#50B0D8
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #2A7941

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

Preview Lab → · Contrast checker → · Palette generator →

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