#2A7A3D#2A7A3D

#2A7A3D is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.5% C 0.122 H 148.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2A7A3D
RGBrgb(42, 122, 61)
HSLhsl(134, 49%, 32%)
HSVhsv(134, 66%, 48%)
CMYKcmyk(65.6%, 0%, 50%, 52.2%)
CIE-LABlab(45.29, -38.35, 26.32)
CIE-LCHlch(45.29, 46.51, 145.54°)
OKLaboklab(51.54% -0.1035 0.0641)
OKLCHoklch(51.54% 0.122 148.2)
XYZxyz(8.7561, 14.7474, 6.7991)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7A3D #7A2A67
analogous
#3F7A2A #2A7A3D #2A7A65
triadic
#2A7A3D #3D2A7A #7A3D2A
tetradic
#2A7A3D #2A3F7A #7A2A67 #7A652A
square
#2A7A3D #2A3F7A #7A2A67 #7A652A
split-complementary
#2A7A3D #652A7A #7A2A3F
monochromatic
#0B1F0F #1A4C26 #2A7A3D #3AA854 #59C673

Accessibility & contrast

On white

5.32
#2A7A3D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2A7A3D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7A3D
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7A3D#FFFFFF#000000##FFFFFF
##2A7A3D1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F38
Deuteranopia (green-blind)
#716841
Tritanopia (blue-blind)
#11786C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a7a3d;
/* rgb */ color: rgb(42, 122, 61);
/* oklch */ color: oklch(51.5% 0.122 148.2);
Tailwind
colors: {
  custom: {
    50: '#6da173',
    500: '#2a7a3d',
    950: '#000000',
  },
}
SCSS
$custom: #2a7a3d;
$custom-light: #6da173;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7a3d",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 61
  },
  "hsl": {
    "h": 134.25,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51536,
    "c": 0.12175,
    "h": 148.2
  },
  "luminance": 0.14748
}

Semantic roles & 50–950 ramp

primary
#2A7A3D
secondary
#AB5597
accent
#4FB8D8
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #2A7A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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