#2A7A44#2A7A44

#2A7A44 is a mid, moderate green. Relative luminance 0.148; OKLCH L 51.7% C 0.115 H 150.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2A7A44
RGBrgb(42, 122, 68)
HSLhsl(140, 49%, 32%)
HSVhsv(140, 66%, 48%)
CMYKcmyk(65.6%, 0%, 44.3%, 52.2%)
CIE-LABlab(45.40, -37.11, 22.59)
CIE-LCHlch(45.40, 43.45, 148.67°)
OKLaboklab(51.66% -0.1002 0.0558)
OKLCHoklch(51.66% 0.115 150.9)
XYZxyz(8.9571, 14.8278, 7.8577)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7A44 #7A2A60
analogous
#387A2A #2A7A44 #2A7A6C
triadic
#2A7A44 #442A7A #7A442A
tetradic
#2A7A44 #2A387A #7A2A60 #7A6C2A
square
#2A7A44 #2A387A #7A2A60 #7A6C2A
split-complementary
#2A7A44 #6C2A7A #7A2A38
monochromatic
#0B1F11 #1A4C2B #2A7A44 #3AA85D #59C67C

Accessibility & contrast

On white

5.30
#2A7A44 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2A7A44 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7A44
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7A44#FFFFFF#000000##FFFFFF
##2A7A441.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7040
Deuteranopia (green-blind)
#706948
Tritanopia (blue-blind)
#0C786D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a7a44;
/* rgb */ color: rgb(42, 122, 68);
/* oklch */ color: oklch(51.7% 0.115 150.9);
Tailwind
colors: {
  custom: {
    50: '#6da178',
    500: '#2a7a44',
    950: '#000000',
  },
}
SCSS
$custom: #2a7a44;
$custom-light: #6da178;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7a44",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 68
  },
  "hsl": {
    "h": 139.5,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51663,
    "c": 0.11471,
    "h": 150.9
  },
  "luminance": 0.14829
}

Semantic roles & 50–950 ramp

primary
#2A7A44
secondary
#AB558F
accent
#4FACD8
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2A7A44

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

Preview Lab → · Contrast checker → · Palette generator →

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