#2A7D47#2A7D47

#2A7D47 is a mid, moderate green. Relative luminance 0.156; OKLCH L 52.6% C 0.116 H 151.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2A7D47
RGBrgb(42, 125, 71)
HSLhsl(141, 50%, 33%)
HSVhsv(141, 66%, 49%)
CMYKcmyk(66.4%, 0%, 43.2%, 51%)
CIE-LABlab(46.46, -37.81, 22.30)
CIE-LCHlch(46.46, 43.89, 149.47°)
OKLaboklab(52.56% -0.1021 0.0552)
OKLCHoklch(52.56% 0.116 151.6)
XYZxyz(9.4250, 15.6134, 8.4770)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7D47 #7D2A60
analogous
#367D2A #2A7D47 #2A7D71
triadic
#2A7D47 #472A7D #7D472A
tetradic
#2A7D47 #2A367D #7D2A60 #7D712A
square
#2A7D47 #2A367D #7D2A60 #7D712A
split-complementary
#2A7D47 #712A7D #7D2A36
monochromatic
#0B2113 #1B4F2D #2A7D47 #39AB61 #5AC880

Accessibility & contrast

On white

5.09
#2A7D47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2A7D47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7D47
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7D47#FFFFFF#000000##FFFFFF
##2A7D471.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7343
Deuteranopia (green-blind)
#736B4B
Tritanopia (blue-blind)
#077B70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a7d47;
/* rgb */ color: rgb(42, 125, 71);
/* oklch */ color: oklch(52.6% 0.116 151.6);
Tailwind
colors: {
  custom: {
    50: '#6ea37b',
    500: '#2a7d47',
    950: '#000000',
  },
}
SCSS
$custom: #2a7d47;
$custom-light: #6ea37b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7d47",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 71
  },
  "hsl": {
    "h": 140.964,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52557,
    "c": 0.11608,
    "h": 151.6
  },
  "luminance": 0.15614
}

Semantic roles & 50–950 ramp

primary
#2A7D47
secondary
#AD568F
accent
#4FA9D9
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2A7D47

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

Preview Lab → · Contrast checker → · Palette generator →

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