#2A7C4F#2A7C4F

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

Color values

HEX#2A7C4F
RGBrgb(42, 124, 79)
HSLhsl(147, 49%, 33%)
HSVhsv(147, 66%, 49%)
CMYKcmyk(66.1%, 0%, 36.3%, 51.4%)
CIE-LABlab(46.27, -35.78, 17.50)
CIE-LCHlch(46.27, 39.83, 153.94°)
OKLaboklab(52.45% -0.097 0.044)
OKLCHoklch(52.45% 0.107 155.6)
XYZxyz(9.5729, 15.4711, 9.8773)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7C4F #7C2A57
analogous
#2E7C2A #2A7C4F #2A7C78
triadic
#2A7C4F #4F2A7C #7C4F2A
tetradic
#2A7C4F #2A2E7C #7C2A57 #7C782A
square
#2A7C4F #2A2E7C #7C2A57 #7C782A
split-complementary
#2A7C4F #782A7C #7C2A2E
monochromatic
#0B2115 #1B4E32 #2A7C4F #39AA6C #59C78B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A7C4F#FFFFFF#000000##FFFFFF
##2A7C4F1.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)
#7B724C
Deuteranopia (green-blind)
#716B52
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a7c4f;
/* rgb */ color: rgb(42, 124, 79);
/* oklch */ color: oklch(52.4% 0.107 155.6);
Tailwind
colors: {
  custom: {
    50: '#6da380',
    500: '#2a7c4f',
    950: '#000000',
  },
}
SCSS
$custom: #2a7c4f;
$custom-light: #6da380;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7c4f",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 79
  },
  "hsl": {
    "h": 147.073,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52449,
    "c": 0.10656,
    "h": 155.6
  },
  "luminance": 0.15472
}

Semantic roles & 50–950 ramp

primary
#2A7C4F
secondary
#AD5585
accent
#4F9BD9
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #2A7C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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