#2A7C4E#2A7C4E

#2A7C4E is a mid, moderate green. Relative luminance 0.155; OKLCH L 52.4% C 0.108 H 155.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2A7C4E
RGBrgb(42, 124, 78)
HSLhsl(146, 49%, 33%)
HSVhsv(146, 66%, 49%)
CMYKcmyk(66.1%, 0%, 37.1%, 51.4%)
CIE-LABlab(46.25, -35.99, 18.05)
CIE-LCHlch(46.25, 40.26, 153.37°)
OKLaboklab(52.43% -0.0975 0.0453)
OKLCHoklch(52.43% 0.108 155.1)
XYZxyz(9.5368, 15.4566, 9.6871)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7C4E #7C2A58
analogous
#2F7C2A #2A7C4E #2A7C77
triadic
#2A7C4E #4E2A7C #7C4E2A
tetradic
#2A7C4E #2A2F7C #7C2A58 #7C772A
square
#2A7C4E #2A2F7C #7C2A58 #7C772A
split-complementary
#2A7C4E #772A7C #7C2A2F
monochromatic
#0B2114 #1B4E31 #2A7C4E #39AA6B #59C78A

Accessibility & contrast

On white

5.13
#2A7C4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2A7C4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7C4E
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7C4E#FFFFFF#000000##FFFFFF
##2A7C4E1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C724B
Deuteranopia (green-blind)
#716B51
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a7c4e;
/* rgb */ color: rgb(42, 124, 78);
/* oklch */ color: oklch(52.4% 0.108 155.1);
Tailwind
colors: {
  custom: {
    50: '#6da380',
    500: '#2a7c4e',
    950: '#000000',
  },
}
SCSS
$custom: #2a7c4e;
$custom-light: #6da380;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7c4e",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 78
  },
  "hsl": {
    "h": 146.341,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52426,
    "c": 0.10756,
    "h": 155.1
  },
  "luminance": 0.15458
}

Semantic roles & 50–950 ramp

primary
#2A7C4E
secondary
#AD5586
accent
#4F9CD9
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #2A7C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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