#2E8126#2E8126

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

Color values

HEX#2E8126
RGBrgb(46, 129, 38)
HSLhsl(115, 54%, 33%)
HSVhsv(115, 71%, 51%)
CMYKcmyk(64.3%, 0%, 70.5%, 49.4%)
CIE-LABlab(47.52, -43.18, 40.31)
CIE-LCHlch(47.52, 59.07, 136.97°)
OKLaboklab(53.33% -0.1177 0.0924)
OKLCHoklch(53.33% 0.15 141.9)
XYZxyz(9.3263, 16.4204, 4.5113)
Luminance0.1642 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8126 #792681
analogous
#5C8126 #2E8126 #26814B
triadic
#2E8126 #262E81 #81262E
tetradic
#2E8126 #265C81 #792681 #814B26
square
#2E8126 #265C81 #792681 #814B26
split-complementary
#2E8126 #4B2681 #81265C
monochromatic
#0C220A #1D5218 #2E8126 #3FB034 #5FCD55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E8126#FFFFFF#000000##FFFFFF
##2E81261.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847519
Deuteranopia (green-blind)
#7A6E2F
Tritanopia (blue-blind)
#1F7D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2e8126;
/* rgb */ color: rgb(46, 129, 38);
/* oklch */ color: oklch(53.3% 0.150 141.9);
Tailwind
colors: {
  custom: {
    50: '#72a665',
    500: '#2e8126',
    950: '#000000',
  },
}
SCSS
$custom: #2e8126;
$custom-light: #72a665;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8126",
  "rgb": {
    "r": 46,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 114.725,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53329,
    "c": 0.14968,
    "h": 141.9
  },
  "luminance": 0.16421
}

Semantic roles & 50–950 ramp

primary
#2E8126
secondary
#A951B1
accent
#4ADED1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2E8126

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

Preview Lab → · Contrast checker → · Palette generator →

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