#2A7647#2A7647

#2A7647 is a mid, moderate green. Relative luminance 0.139; OKLCH L 50.6% C 0.106 H 153.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#2A7647
RGBrgb(42, 118, 71)
HSLhsl(143, 48%, 31%)
HSVhsv(143, 64%, 46%)
CMYKcmyk(64.4%, 0%, 39.8%, 53.7%)
CIE-LABlab(44.09, -34.82, 19.18)
CIE-LCHlch(44.09, 39.75, 151.15°)
OKLaboklab(50.61% -0.0942 0.0479)
OKLCHoklch(50.61% 0.106 153.1)
XYZxyz(8.5699, 13.9032, 8.1920)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7647 #762A59
analogous
#33762A #2A7647 #2A766D
triadic
#2A7647 #472A76 #76472A
tetradic
#2A7647 #2A3376 #762A59 #766D2A
square
#2A7647 #2A3376 #762A59 #766D2A
split-complementary
#2A7647 #6D2A76 #762A33
monochromatic
#0A1C11 #1A492C #2A7647 #3AA362 #57C380

Accessibility & contrast

On white

5.55
#2A7647 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#2A7647 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7647
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7647#FFFFFF#000000##FFFFFF
##2A76471.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766C44
Deuteranopia (green-blind)
#6C654A
Tritanopia (blue-blind)
#0D746A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a7647;
/* rgb */ color: rgb(42, 118, 71);
/* oklch */ color: oklch(50.6% 0.106 153.1);
Tailwind
colors: {
  custom: {
    50: '#6c9e7a',
    500: '#2a7647',
    950: '#000000',
  },
}
SCSS
$custom: #2a7647;
$custom-light: #6c9e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7647",
  "rgb": {
    "r": 42,
    "g": 118,
    "b": 71
  },
  "hsl": {
    "h": 142.895,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.50609,
    "c": 0.1057,
    "h": 153.1
  },
  "luminance": 0.13904
}

Semantic roles & 50–950 ramp

primary
#2A7647
secondary
#A85488
accent
#51A4D7
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #2A7647

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

Preview Lab → · Contrast checker → · Palette generator →

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