#2A7041#2A7041

#2A7041 is a mid, moderate green. Relative luminance 0.125; OKLCH L 48.8% C 0.103 H 151.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#2A7041
RGBrgb(42, 112, 65)
HSLhsl(140, 45%, 30%)
HSVhsv(140, 63%, 44%)
CMYKcmyk(62.5%, 0%, 42%, 56.1%)
CIE-LABlab(41.94, -33.37, 19.78)
CIE-LCHlch(41.94, 38.79, 149.34°)
OKLaboklab(48.81% -0.0903 0.0491)
OKLCHoklch(48.81% 0.103 151.4)
XYZxyz(7.7026, 12.4615, 6.9994)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7041 #702A59
analogous
#36702A #2A7041 #2A7064
triadic
#2A7041 #412A70 #70412A
tetradic
#2A7041 #2A3670 #702A59 #70642A
square
#2A7041 #2A3670 #702A59 #70642A
split-complementary
#2A7041 #642A70 #702A36
monochromatic
#09170D #194327 #2A7041 #3B9D5B #55BF78

Accessibility & contrast

On white

6.01
#2A7041 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2A7041 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7041
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7041#FFFFFF#000000##FFFFFF
##2A70411.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70673E
Deuteranopia (green-blind)
#676044
Tritanopia (blue-blind)
#146E64
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a7041;
/* rgb */ color: rgb(42, 112, 65);
/* oklch */ color: oklch(48.8% 0.103 151.4);
Tailwind
colors: {
  custom: {
    50: '#6b9a76',
    500: '#2a7041',
    950: '#000000',
  },
}
SCSS
$custom: #2a7041;
$custom-light: #6b9a76;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7041",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 65
  },
  "hsl": {
    "h": 139.714,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.48805,
    "c": 0.1028,
    "h": 151.4
  },
  "luminance": 0.12462
}

Semantic roles & 50–950 ramp

primary
#2A7041
secondary
#A25488
accent
#53AAD5
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #2A7041

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

Preview Lab → · Contrast checker → · Palette generator →

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