#2E8128#2E8128

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

Color values

HEX#2E8128
RGBrgb(46, 129, 40)
HSLhsl(116, 53%, 33%)
HSVhsv(116, 69%, 51%)
CMYKcmyk(64.3%, 0%, 69%, 49.4%)
CIE-LABlab(47.54, -42.98, 39.46)
CIE-LCHlch(47.54, 58.35, 137.44°)
OKLaboklab(53.35% -0.1171 0.0909)
OKLCHoklch(53.35% 0.148 142.2)
XYZxyz(9.3595, 16.4337, 4.6858)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8128 #7B2881
analogous
#5A8128 #2E8128 #28814E
triadic
#2E8128 #282E81 #81282E
tetradic
#2E8128 #285A81 #7B2881 #814E28
square
#2E8128 #285A81 #7B2881 #814E28
split-complementary
#2E8128 #4E2881 #81285A
monochromatic
#0D240B #1D521A #2E8128 #3FB036 #60CB58

Accessibility & contrast

On white

4.90
#2E8128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2E8128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E8128
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8128#FFFFFF#000000##FFFFFF
##2E81281.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751C
Deuteranopia (green-blind)
#7A6E30
Tritanopia (blue-blind)
#1F7D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2e8128;
/* rgb */ color: rgb(46, 129, 40);
/* oklch */ color: oklch(53.3% 0.148 142.2);
Tailwind
colors: {
  custom: {
    50: '#72a667',
    500: '#2e8128',
    950: '#000000',
  },
}
SCSS
$custom: #2e8128;
$custom-light: #72a667;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8128",
  "rgb": {
    "r": 46,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 115.955,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53349,
    "c": 0.14821,
    "h": 142.2
  },
  "luminance": 0.16435
}

Semantic roles & 50–950 ramp

primary
#2E8128
secondary
#AA54B0
accent
#4CDCD2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2E8128

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

Preview Lab → · Contrast checker → · Palette generator →

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