#2A7643#2A7643

#2A7643 is a mid, moderate green. Relative luminance 0.139; OKLCH L 50.5% C 0.110 H 151.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#2A7643
RGBrgb(42, 118, 67)
HSLhsl(140, 48%, 31%)
HSVhsv(140, 64%, 46%)
CMYKcmyk(64.4%, 0%, 43.2%, 53.7%)
CIE-LABlab(44.02, -35.60, 21.36)
CIE-LCHlch(44.02, 41.52, 149.03°)
OKLaboklab(50.53% -0.0962 0.0529)
OKLCHoklch(50.53% 0.11 151.2)
XYZxyz(8.4457, 13.8535, 7.5380)
Luminance0.1385 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7643 #762A5D
analogous
#37762A #2A7643 #2A7669
triadic
#2A7643 #432A76 #76432A
tetradic
#2A7643 #2A3776 #762A5D #76692A
square
#2A7643 #2A3776 #762A5D #76692A
split-complementary
#2A7643 #692A76 #762A37
monochromatic
#0A1C10 #1A4929 #2A7643 #3AA35D #57C37B

Accessibility & contrast

On white

5.57
#2A7643 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#2A7643 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7643
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7643#FFFFFF#000000##FFFFFF
##2A76431.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766C3F
Deuteranopia (green-blind)
#6D6546
Tritanopia (blue-blind)
#107469
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a7643;
/* rgb */ color: rgb(42, 118, 67);
/* oklch */ color: oklch(50.5% 0.110 151.2);
Tailwind
colors: {
  custom: {
    50: '#6c9e78',
    500: '#2a7643',
    950: '#000000',
  },
}
SCSS
$custom: #2a7643;
$custom-light: #6c9e78;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7643",
  "rgb": {
    "r": 42,
    "g": 118,
    "b": 67
  },
  "hsl": {
    "h": 139.737,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.50527,
    "c": 0.1098,
    "h": 151.2
  },
  "luminance": 0.13854
}

Semantic roles & 50–950 ramp

primary
#2A7643
secondary
#A8548C
accent
#51ABD7
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #2A7643

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

Preview Lab → · Contrast checker → · Palette generator →

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