#2A7740#2A7740

#2A7740 is a mid, moderate green. Relative luminance 0.141; OKLCH L 50.7% C 0.114 H 149.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#2A7740
RGBrgb(42, 119, 64)
HSLhsl(137, 48%, 32%)
HSVhsv(137, 65%, 47%)
CMYKcmyk(64.7%, 0%, 46.2%, 53.3%)
CIE-LABlab(44.31, -36.58, 23.43)
CIE-LCHlch(44.31, 43.44, 147.36°)
OKLaboklab(50.75% -0.0988 0.0576)
OKLCHoklch(50.75% 0.114 149.8)
XYZxyz(8.4765, 14.0552, 7.1157)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7740 #772A61
analogous
#3B772A #2A7740 #2A7767
triadic
#2A7740 #402A77 #77402A
tetradic
#2A7740 #2A3B77 #772A61 #77672A
square
#2A7740 #2A3B77 #772A61 #77672A
split-complementary
#2A7740 #672A77 #772A3B
monochromatic
#0A1D0F #1A4A28 #2A7740 #3AA458 #58C476

Accessibility & contrast

On white

5.51
#2A7740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#2A7740 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7740
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7740#FFFFFF#000000##FFFFFF
##2A77401.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786D3C
Deuteranopia (green-blind)
#6E6644
Tritanopia (blue-blind)
#11756A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a7740;
/* rgb */ color: rgb(42, 119, 64);
/* oklch */ color: oklch(50.7% 0.114 149.8);
Tailwind
colors: {
  custom: {
    50: '#6d9f75',
    500: '#2a7740',
    950: '#000000',
  },
}
SCSS
$custom: #2a7740;
$custom-light: #6d9f75;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7740",
  "rgb": {
    "r": 42,
    "g": 119,
    "b": 64
  },
  "hsl": {
    "h": 137.143,
    "s": 47.826,
    "l": 31.569
  },
  "oklch": {
    "l": 0.50749,
    "c": 0.11435,
    "h": 149.8
  },
  "luminance": 0.14056
}

Semantic roles & 50–950 ramp

primary
#2A7740
secondary
#A95491
accent
#50B1D7
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #2A7740

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

Preview Lab → · Contrast checker → · Palette generator →

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