#2E8127#2E8127

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

Color values

HEX#2E8127
RGBrgb(46, 129, 39)
HSLhsl(115, 54%, 33%)
HSVhsv(115, 70%, 51%)
CMYKcmyk(64.3%, 0%, 69.8%, 49.4%)
CIE-LABlab(47.53, -43.08, 39.89)
CIE-LCHlch(47.53, 58.71, 137.20°)
OKLaboklab(53.34% -0.1174 0.0917)
OKLCHoklch(53.34% 0.149 142)
XYZxyz(9.3427, 16.4269, 4.5974)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8127 #7A2781
analogous
#5B8127 #2E8127 #27814D
triadic
#2E8127 #272E81 #81272E
tetradic
#2E8127 #275B81 #7A2781 #814D27
square
#2E8127 #275B81 #7A2781 #814D27
split-complementary
#2E8127 #4D2781 #81275B
monochromatic
#0C230B #1D5219 #2E8127 #3FB035 #60CC56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E8127#FFFFFF#000000##FFFFFF
##2E81271.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)
#84751B
Deuteranopia (green-blind)
#7A6E2F
Tritanopia (blue-blind)
#1F7D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2e8127;
/* rgb */ color: rgb(46, 129, 39);
/* oklch */ color: oklch(53.3% 0.149 142.0);
Tailwind
colors: {
  custom: {
    50: '#72a666',
    500: '#2e8127',
    950: '#000000',
  },
}
SCSS
$custom: #2e8127;
$custom-light: #72a666;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8127",
  "rgb": {
    "r": 46,
    "g": 129,
    "b": 39
  },
  "hsl": {
    "h": 115.333,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53339,
    "c": 0.14895,
    "h": 142
  },
  "luminance": 0.16428
}

Semantic roles & 50–950 ramp

primary
#2E8127
secondary
#AA53B1
accent
#4BDDD2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2E8127

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

Preview Lab → · Contrast checker → · Palette generator →

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