#2E7937#2E7937

#2E7937 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.3% C 0.124 H 145.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#2E7937
RGBrgb(46, 121, 55)
HSLhsl(127, 45%, 33%)
HSVhsv(127, 62%, 47%)
CMYKcmyk(62%, 0%, 54.5%, 52.5%)
CIE-LABlab(44.98, -37.93, 29.20)
CIE-LCHlch(44.98, 47.87, 142.41°)
OKLaboklab(51.29% -0.1027 0.0702)
OKLCHoklch(51.29% 0.124 145.7)
XYZxyz(8.6531, 14.5306, 5.9624)
Luminance0.1453 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7937 #792E70
analogous
#4A792E #2E7937 #2E795C
triadic
#2E7937 #372E79 #79372E
tetradic
#2E7937 #2E4A79 #792E70 #795C2E
square
#2E7937 #2E4A79 #792E70 #795C2E
split-complementary
#2E7937 #5C2E79 #792E4A
monochromatic
#0C200F #1D4D23 #2E7937 #3FA54B #5FC26B

Accessibility & contrast

On white

5.38
#2E7937 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E7937
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7937#FFFFFF#000000##FFFFFF
##2E79371.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E31
Deuteranopia (green-blind)
#71683C
Tritanopia (blue-blind)
#1E766A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2e7937;
/* rgb */ color: rgb(46, 121, 55);
/* oklch */ color: oklch(51.3% 0.124 145.7);
Tailwind
colors: {
  custom: {
    50: '#6fa06f',
    500: '#2e7937',
    950: '#000000',
  },
}
SCSS
$custom: #2e7937;
$custom-light: #6fa06f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7937",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 55
  },
  "hsl": {
    "h": 127.2,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51294,
    "c": 0.12437,
    "h": 145.7
  },
  "luminance": 0.14531
}

Semantic roles & 50–950 ramp

primary
#2E7937
secondary
#A95A9F
accent
#53C5D5
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2E7937

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

Preview Lab → · Contrast checker → · Palette generator →

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