#2A7844#2A7844

#2A7844 is a mid, moderate green. Relative luminance 0.143; OKLCH L 51.1% C 0.112 H 151.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2A7844
RGBrgb(42, 120, 68)
HSLhsl(140, 48%, 32%)
HSVhsv(140, 65%, 47%)
CMYKcmyk(65%, 0%, 43.3%, 52.9%)
CIE-LABlab(44.72, -36.26, 21.71)
CIE-LCHlch(44.72, 42.26, 149.09°)
OKLaboklab(51.11% -0.098 0.0538)
OKLCHoklch(51.11% 0.112 151.3)
XYZxyz(8.7140, 14.3417, 7.7767)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7844 #782A5E
analogous
#37782A #2A7844 #2A786B
triadic
#2A7844 #442A78 #78442A
tetradic
#2A7844 #2A3778 #782A5E #786B2A
square
#2A7844 #2A3778 #782A5E #786B2A
split-complementary
#2A7844 #6B2A78 #782A37
monochromatic
#0A1D11 #1A4B2A #2A7844 #3AA55E #58C57C

Accessibility & contrast

On white

5.43
#2A7844 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2A7844 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7844
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7844#FFFFFF#000000##FFFFFF
##2A78441.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786E40
Deuteranopia (green-blind)
#6E6747
Tritanopia (blue-blind)
#0E766B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a7844;
/* rgb */ color: rgb(42, 120, 68);
/* oklch */ color: oklch(51.1% 0.112 151.3);
Tailwind
colors: {
  custom: {
    50: '#6da078',
    500: '#2a7844',
    950: '#000000',
  },
}
SCSS
$custom: #2a7844;
$custom-light: #6da078;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7844",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 68
  },
  "hsl": {
    "h": 140,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51105,
    "c": 0.11175,
    "h": 151.3
  },
  "luminance": 0.14343
}

Semantic roles & 50–950 ramp

primary
#2A7844
secondary
#AA548D
accent
#50ABD8
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #2A7844

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

Preview Lab → · Contrast checker → · Palette generator →

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