#2A7936#2A7936

#2A7936 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.127 H 146.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2A7936
RGBrgb(42, 121, 54)
HSLhsl(129, 48%, 32%)
HSVhsv(129, 65%, 47%)
CMYKcmyk(65.3%, 0%, 55.4%, 52.5%)
CIE-LABlab(44.85, -39.05, 29.53)
CIE-LCHlch(44.85, 48.96, 142.90°)
OKLaboklab(51.14% -0.1056 0.0709)
OKLCHoklch(51.14% 0.127 146.1)
XYZxyz(8.4575, 14.4325, 5.8294)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7936 #792A6D
analogous
#46792A #2A7936 #2A795E
triadic
#2A7936 #362A79 #79362A
tetradic
#2A7936 #2A4679 #792A6D #795E2A
square
#2A7936 #2A4679 #792A6D #795E2A
split-complementary
#2A7936 #5E2A79 #792A46
monochromatic
#0A1E0D #1A4C22 #2A7936 #3AA64A #58C569

Accessibility & contrast

On white

5.40
#2A7936 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2A7936 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7936
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7936#FFFFFF#000000##FFFFFF
##2A79361.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E30
Deuteranopia (green-blind)
#71673B
Tritanopia (blue-blind)
#16766A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a7936;
/* rgb */ color: rgb(42, 121, 54);
/* oklch */ color: oklch(51.1% 0.127 146.1);
Tailwind
colors: {
  custom: {
    50: '#6da06f',
    500: '#2a7936',
    950: '#000000',
  },
}
SCSS
$custom: #2a7936;
$custom-light: #6da06f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7936",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 54
  },
  "hsl": {
    "h": 129.114,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51141,
    "c": 0.12713,
    "h": 146.1
  },
  "luminance": 0.14433
}

Semantic roles & 50–950 ramp

primary
#2A7936
secondary
#AB549D
accent
#50C3D8
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2A7936

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

Preview Lab → · Contrast checker → · Palette generator →

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