#2E7129#2E7129

#2E7129 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.126 H 142.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2E7129
RGBrgb(46, 113, 41)
HSLhsl(116, 47%, 30%)
HSVhsv(116, 64%, 44%)
CMYKcmyk(59.3%, 0%, 63.7%, 55.7%)
CIE-LABlab(42.08, -36.53, 32.95)
CIE-LCHlch(42.08, 49.19, 137.95°)
OKLaboklab(48.85% -0.0995 0.0772)
OKLCHoklch(48.85% 0.126 142.2)
XYZxyz(7.4317, 12.5505, 4.1283)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7129 #6C2971
analogous
#527129 #2E7129 #297148
triadic
#2E7129 #292E71 #71292E
tetradic
#2E7129 #295271 #6C2971 #714829
square
#2E7129 #295271 #6C2971 #714829
split-complementary
#2E7129 #482971 #712952
monochromatic
#091708 #1C4419 #2E7129 #409E39 #5BC154

Accessibility & contrast

On white

5.98
#2E7129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2E7129 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7129
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7129#FFFFFF#000000##FFFFFF
##2E71291.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746721
Deuteranopia (green-blind)
#6B612F
Tritanopia (blue-blind)
#246E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e7129;
/* rgb */ color: rgb(46, 113, 41);
/* oklch */ color: oklch(48.8% 0.126 142.2);
Tailwind
colors: {
  custom: {
    50: '#6e9a66',
    500: '#2e7129',
    950: '#000000',
  },
}
SCSS
$custom: #2e7129;
$custom-light: #6e9a66;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7129",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 41
  },
  "hsl": {
    "h": 115.833,
    "s": 46.753,
    "l": 30.196
  },
  "oklch": {
    "l": 0.48845,
    "c": 0.12595,
    "h": 142.2
  },
  "luminance": 0.12551
}

Semantic roles & 50–950 ramp

primary
#2E7129
secondary
#9E53A3
accent
#51D6CD
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2E7129

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

Preview Lab → · Contrast checker → · Palette generator →

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