#2E8122#2E8122

#2E8122 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.152 H 141.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2E8122
RGBrgb(46, 129, 34)
HSLhsl(112, 58%, 32%)
HSVhsv(112, 74%, 51%)
CMYKcmyk(64.3%, 0%, 73.6%, 49.4%)
CIE-LABlab(47.49, -43.55, 41.95)
CIE-LCHlch(47.49, 60.46, 136.07°)
OKLaboklab(53.29% -0.119 0.0953)
OKLCHoklch(53.29% 0.152 141.3)
XYZxyz(9.2652, 16.3960, 4.1895)
Luminance0.1640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8122 #752281
analogous
#5E8122 #2E8122 #228146
triadic
#2E8122 #222E81 #81222E
tetradic
#2E8122 #225E81 #752281 #814622
square
#2E8122 #225E81 #752281 #814622
split-complementary
#2E8122 #462281 #81225E
monochromatic
#0B2008 #1D5115 #2E8122 #3FB12F #5ED04D

Accessibility & contrast

On white

4.91
#2E8122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2E8122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E8122
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8122#FFFFFF#000000##FFFFFF
##2E81221.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847512
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#207D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2e8122;
/* rgb */ color: rgb(46, 129, 34);
/* oklch */ color: oklch(53.3% 0.152 141.3);
Tailwind
colors: {
  custom: {
    50: '#72a663',
    500: '#2e8122',
    950: '#000000',
  },
}
SCSS
$custom: #2e8122;
$custom-light: #72a663;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8122",
  "rgb": {
    "r": 46,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 112.421,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53293,
    "c": 0.15244,
    "h": 141.3
  },
  "luminance": 0.16397
}

Semantic roles & 50–950 ramp

primary
#2E8122
secondary
#A64BB3
accent
#46E1CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2E8122

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

Preview Lab → · Contrast checker → · Palette generator →

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