#2A7A41#2A7A41

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

Color values

HEX#2A7A41
RGBrgb(42, 122, 65)
HSLhsl(137, 49%, 32%)
HSVhsv(137, 66%, 48%)
CMYKcmyk(65.6%, 0%, 46.7%, 52.2%)
CIE-LABlab(45.35, -37.66, 24.20)
CIE-LCHlch(45.35, 44.76, 147.27°)
OKLaboklab(51.61% -0.1017 0.0594)
OKLCHoklch(51.61% 0.118 149.7)
XYZxyz(8.8678, 14.7921, 7.3878)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7A41 #7A2A63
analogous
#3B7A2A #2A7A41 #2A7A69
triadic
#2A7A41 #412A7A #7A412A
tetradic
#2A7A41 #2A3B7A #7A2A63 #7A692A
square
#2A7A41 #2A3B7A #7A2A63 #7A692A
split-complementary
#2A7A41 #692A7A #7A2A3B
monochromatic
#0B1F10 #1A4C29 #2A7A41 #3AA859 #59C678

Accessibility & contrast

On white

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

On black

3.96
#2A7A41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A7A41#FFFFFF#000000##FFFFFF
##2A7A411.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B703D
Deuteranopia (green-blind)
#716945
Tritanopia (blue-blind)
#0F786C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a7a41;
/* rgb */ color: rgb(42, 122, 65);
/* oklch */ color: oklch(51.6% 0.118 149.7);
Tailwind
colors: {
  custom: {
    50: '#6da176',
    500: '#2a7a41',
    950: '#000000',
  },
}
SCSS
$custom: #2a7a41;
$custom-light: #6da176;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7a41",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 65
  },
  "hsl": {
    "h": 137.25,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51607,
    "c": 0.11775,
    "h": 149.7
  },
  "luminance": 0.14793
}

Semantic roles & 50–950 ramp

primary
#2A7A41
secondary
#AB5592
accent
#4FB1D8
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #2A7A41

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

Preview Lab → · Contrast checker → · Palette generator →

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