#2E7939#2E7939

#2E7939 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.122 H 146.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2E7939
RGBrgb(46, 121, 57)
HSLhsl(129, 45%, 33%)
HSVhsv(129, 62%, 47%)
CMYKcmyk(62%, 0%, 52.9%, 52.5%)
CIE-LABlab(45.01, -37.63, 28.17)
CIE-LCHlch(45.01, 47.00, 143.18°)
OKLaboklab(51.33% -0.1018 0.068)
OKLCHoklch(51.33% 0.122 146.3)
XYZxyz(8.7020, 14.5502, 6.2200)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7939 #792E6E
analogous
#48792E #2E7939 #2E795E
triadic
#2E7939 #392E79 #79392E
tetradic
#2E7939 #2E4879 #792E6E #795E2E
square
#2E7939 #2E4879 #792E6E #795E2E
split-complementary
#2E7939 #5E2E79 #792E48
monochromatic
#0C200F #1D4D24 #2E7939 #3FA54E #5FC26E

Accessibility & contrast

On white

5.37
#2E7939 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2E7939 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7939
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7939#FFFFFF#000000##FFFFFF
##2E79391.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F34
Deuteranopia (green-blind)
#71683E
Tritanopia (blue-blind)
#1D766A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2e7939;
/* rgb */ color: rgb(46, 121, 57);
/* oklch */ color: oklch(51.3% 0.122 146.3);
Tailwind
colors: {
  custom: {
    50: '#6fa071',
    500: '#2e7939',
    950: '#000000',
  },
}
SCSS
$custom: #2e7939;
$custom-light: #6fa071;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7939",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 57
  },
  "hsl": {
    "h": 128.8,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51326,
    "c": 0.12243,
    "h": 146.3
  },
  "luminance": 0.14551
}

Semantic roles & 50–950 ramp

primary
#2E7939
secondary
#A95A9D
accent
#53C2D5
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #2E7939

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

Preview Lab → · Contrast checker → · Palette generator →

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