#2A7641#2A7641

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

Color values

HEX#2A7641
RGBrgb(42, 118, 65)
HSLhsl(138, 48%, 31%)
HSVhsv(138, 64%, 46%)
CMYKcmyk(64.4%, 0%, 44.9%, 53.7%)
CIE-LABlab(43.99, -35.97, 22.45)
CIE-LCHlch(43.99, 42.40, 148.03°)
OKLaboklab(50.49% -0.0972 0.0554)
OKLCHoklch(50.49% 0.112 150.3)
XYZxyz(8.3868, 13.8299, 7.2275)
Luminance0.1383 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7641 #762A5F
analogous
#39762A #2A7641 #2A7667
triadic
#2A7641 #412A76 #76412A
tetradic
#2A7641 #2A3976 #762A5F #76672A
square
#2A7641 #2A3976 #762A5F #76672A
split-complementary
#2A7641 #672A76 #762A39
monochromatic
#0A1C0F #1A4928 #2A7641 #3AA35A #57C378

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A7641#FFFFFF#000000##FFFFFF
##2A76411.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776C3D
Deuteranopia (green-blind)
#6D6545
Tritanopia (blue-blind)
#117469
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a7641;
/* rgb */ color: rgb(42, 118, 65);
/* oklch */ color: oklch(50.5% 0.112 150.3);
Tailwind
colors: {
  custom: {
    50: '#6c9e76',
    500: '#2a7641',
    950: '#000000',
  },
}
SCSS
$custom: #2a7641;
$custom-light: #6c9e76;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7641",
  "rgb": {
    "r": 42,
    "g": 118,
    "b": 65
  },
  "hsl": {
    "h": 138.158,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.50488,
    "c": 0.11185,
    "h": 150.3
  },
  "luminance": 0.13831
}

Semantic roles & 50–950 ramp

primary
#2A7641
secondary
#A8548E
accent
#51AED7
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #2A7641

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

Preview Lab → · Contrast checker → · Palette generator →

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