#2E7112#2E7112

#2E7112 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.142 H 138.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#2E7112
RGBrgb(46, 113, 18)
HSLhsl(102, 73%, 26%)
HSVhsv(102, 84%, 44%)
CMYKcmyk(59.3%, 0%, 84.1%, 55.7%)
CIE-LABlab(41.90, -38.58, 42.26)
CIE-LCHlch(41.90, 57.22, 132.39°)
OKLaboklab(48.64% -0.1065 0.0936)
OKLCHoklch(48.64% 0.142 138.7)
XYZxyz(7.1407, 12.4342, 2.5959)
Luminance0.1244 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7112 #551271
analogous
#5D7112 #2E7112 #127125
triadic
#2E7112 #122E71 #71122E
tetradic
#2E7112 #125D71 #551271 #712512
square
#2E7112 #125D71 #551271 #712512
split-complementary
#2E7112 #251271 #71125D
monochromatic
#0B1A04 #193C0A #2E7112 #43A61A #59DB23

Accessibility & contrast

On white

6.02
#2E7112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2E7112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7112
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7112#FFFFFF#000000##FFFFFF
##2E71121.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6C611D
Tritanopia (blue-blind)
#276D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e7112;
/* rgb */ color: rgb(46, 113, 18);
/* oklch */ color: oklch(48.6% 0.142 138.7);
Tailwind
colors: {
  custom: {
    50: '#709a59',
    500: '#2e7112',
    950: '#000000',
  },
}
SCSS
$custom: #2e7112;
$custom-light: #709a59;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7112",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 102.316,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48639,
    "c": 0.1418,
    "h": 138.7
  },
  "luminance": 0.12435
}

Semantic roles & 50–950 ramp

primary
#2E7112
secondary
#8737A8
accent
#39EFB9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E7112

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

Preview Lab → · Contrast checker → · Palette generator →

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