#2E7122#2E7122

#2E7122 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.8% C 0.132 H 140.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#2E7122
RGBrgb(46, 113, 34)
HSLhsl(111, 54%, 29%)
HSVhsv(111, 70%, 44%)
CMYKcmyk(59.3%, 0%, 69.9%, 55.7%)
CIE-LABlab(42.01, -37.31, 36.18)
CIE-LCHlch(42.01, 51.97, 135.88°)
OKLaboklab(48.77% -0.1021 0.0832)
OKLCHoklch(48.77% 0.132 140.8)
XYZxyz(7.3202, 12.5060, 3.5412)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7122 #652271
analogous
#567122 #2E7122 #22713E
triadic
#2E7122 #222E71 #71222E
tetradic
#2E7122 #225671 #652271 #713E22
square
#2E7122 #225671 #652271 #713E22
split-complementary
#2E7122 #3E2271 #712256
monochromatic
#0A1807 #1B4214 #2E7122 #41A030 #5AC746

Accessibility & contrast

On white

6.00
#2E7122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2E7122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7122
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7122#FFFFFF#000000##FFFFFF
##2E71221.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746717
Deuteranopia (green-blind)
#6C6129
Tritanopia (blue-blind)
#256D61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e7122;
/* rgb */ color: rgb(46, 113, 34);
/* oklch */ color: oklch(48.8% 0.132 140.8);
Tailwind
colors: {
  custom: {
    50: '#6f9a61',
    500: '#2e7122',
    950: '#000000',
  },
}
SCSS
$custom: #2e7122;
$custom-light: #6f9a61;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7122",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 34
  },
  "hsl": {
    "h": 110.886,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48766,
    "c": 0.1317,
    "h": 140.8
  },
  "luminance": 0.12507
}

Semantic roles & 50–950 ramp

primary
#2E7122
secondary
#974AA4
accent
#4BDDC7
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2E7122

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

Preview Lab → · Contrast checker → · Palette generator →

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