#2A7640#2A7640

#2A7640 is a mid, moderate green. Relative luminance 0.138; OKLCH L 50.5% C 0.113 H 149.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#2A7640
RGBrgb(42, 118, 64)
HSLhsl(137, 48%, 31%)
HSVhsv(137, 64%, 46%)
CMYKcmyk(64.4%, 0%, 45.8%, 53.7%)
CIE-LABlab(43.97, -36.15, 22.99)
CIE-LCHlch(43.97, 42.84, 147.55°)
OKLaboklab(50.47% -0.0977 0.0566)
OKLCHoklch(50.47% 0.113 149.9)
XYZxyz(8.3581, 13.8184, 7.0763)
Luminance0.1382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7640 #762A60
analogous
#3A762A #2A7640 #2A7666
triadic
#2A7640 #402A76 #76402A
tetradic
#2A7640 #2A3A76 #762A60 #76662A
square
#2A7640 #2A3A76 #762A60 #76662A
split-complementary
#2A7640 #662A76 #762A3A
monochromatic
#0A1C0F #1A4928 #2A7640 #3AA358 #57C376

Accessibility & contrast

On white

5.58
#2A7640 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#2A7640 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7640
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7640#FFFFFF#000000##FFFFFF
##2A76401.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776C3C
Deuteranopia (green-blind)
#6D6544
Tritanopia (blue-blind)
#127469
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a7640;
/* rgb */ color: rgb(42, 118, 64);
/* oklch */ color: oklch(50.5% 0.113 149.9);
Tailwind
colors: {
  custom: {
    50: '#6c9e75',
    500: '#2a7640',
    950: '#000000',
  },
}
SCSS
$custom: #2a7640;
$custom-light: #6c9e75;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7640",
  "rgb": {
    "r": 42,
    "g": 118,
    "b": 64
  },
  "hsl": {
    "h": 137.368,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.50468,
    "c": 0.11287,
    "h": 149.9
  },
  "luminance": 0.13819
}

Semantic roles & 50–950 ramp

primary
#2A7640
secondary
#A85490
accent
#51B0D7
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #2A7640

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

Preview Lab → · Contrast checker → · Palette generator →

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