#2E7A2A#2E7A2A

#2E7A2A is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.137 H 142.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#2E7A2A
RGBrgb(46, 122, 42)
HSLhsl(117, 49%, 32%)
HSVhsv(117, 66%, 48%)
CMYKcmyk(62.3%, 0%, 65.6%, 52.2%)
CIE-LABlab(45.17, -40.05, 35.95)
CIE-LCHlch(45.17, 53.82, 138.09°)
OKLaboklab(51.4% -0.109 0.0837)
OKLCHoklch(51.4% 0.137 142.5)
XYZxyz(8.5037, 14.6663, 4.5728)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7A2A #762A7A
analogous
#567A2A #2E7A2A #2A7A4E
triadic
#2E7A2A #2A2E7A #7A2A2E
tetradic
#2E7A2A #2A567A #762A7A #7A4E2A
square
#2E7A2A #2A567A #762A7A #7A4E2A
split-complementary
#2E7A2A #4E2A7A #7A2A56
monochromatic
#0C1F0B #1D4C1A #2E7A2A #3FA83A #5EC659

Accessibility & contrast

On white

5.34
#2E7A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2E7A2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7A2A
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7A2A#FFFFFF#000000##FFFFFF
##2E7A2A1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F21
Deuteranopia (green-blind)
#736831
Tritanopia (blue-blind)
#217669
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e7a2a;
/* rgb */ color: rgb(46, 122, 42);
/* oklch */ color: oklch(51.4% 0.137 142.5);
Tailwind
colors: {
  custom: {
    50: '#70a167',
    500: '#2e7a2a',
    950: '#000000',
  },
}
SCSS
$custom: #2e7a2a;
$custom-light: #70a167;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7a2a",
  "rgb": {
    "r": 46,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 117,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51401,
    "c": 0.13744,
    "h": 142.5
  },
  "luminance": 0.14667
}

Semantic roles & 50–950 ramp

primary
#2E7A2A
secondary
#A755AB
accent
#4FD8D1
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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