#2A7943#2A7943

#2A7943 is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.4% C 0.114 H 150.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2A7943
RGBrgb(42, 121, 67)
HSLhsl(139, 48%, 32%)
HSVhsv(139, 65%, 47%)
CMYKcmyk(65.3%, 0%, 44.6%, 52.5%)
CIE-LABlab(45.04, -36.87, 22.69)
CIE-LCHlch(45.04, 43.29, 148.39°)
OKLaboklab(51.37% -0.0996 0.056)
OKLCHoklch(51.37% 0.114 150.7)
XYZxyz(8.8047, 14.5713, 7.6576)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7943 #792A60
analogous
#39792A #2A7943 #2A796B
triadic
#2A7943 #432A79 #79432A
tetradic
#2A7943 #2A3979 #792A60 #796B2A
square
#2A7943 #2A3979 #792A60 #796B2A
split-complementary
#2A7943 #6B2A79 #792A39
monochromatic
#0A1E11 #1A4C2A #2A7943 #3AA65C #58C57B

Accessibility & contrast

On white

5.36
#2A7943 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A7943
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7943#FFFFFF#000000##FFFFFF
##2A79431.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3F
Deuteranopia (green-blind)
#6F6847
Tritanopia (blue-blind)
#0E776C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a7943;
/* rgb */ color: rgb(42, 121, 67);
/* oklch */ color: oklch(51.4% 0.114 150.7);
Tailwind
colors: {
  custom: {
    50: '#6da078',
    500: '#2a7943',
    950: '#000000',
  },
}
SCSS
$custom: #2a7943;
$custom-light: #6da078;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7943",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 67
  },
  "hsl": {
    "h": 138.987,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51365,
    "c": 0.11425,
    "h": 150.7
  },
  "luminance": 0.14572
}

Semantic roles & 50–950 ramp

primary
#2A7943
secondary
#AB548F
accent
#50ADD8
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #2A7943

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

Preview Lab → · Contrast checker → · Palette generator →

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