#2E7B1E#2E7B1E

#2E7B1E is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.6% C 0.148 H 140.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2E7B1E
RGBrgb(46, 123, 30)
HSLhsl(110, 61%, 30%)
HSVhsv(110, 76%, 48%)
CMYKcmyk(62.6%, 0%, 75.6%, 51.8%)
CIE-LABlab(45.41, -41.61, 41.41)
CIE-LCHlch(45.41, 58.71, 135.14°)
OKLaboklab(51.57% -0.114 0.0937)
OKLCHoklch(51.57% 0.148 140.6)
XYZxyz(8.4436, 14.8397, 3.6474)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7B1E #6B1E7B
analogous
#5D7B1E #2E7B1E #1E7B3C
triadic
#2E7B1E #1E2E7B #7B1E2E
tetradic
#2E7B1E #1E5D7B #6B1E7B #7B3C1E
square
#2E7B1E #1E5D7B #6B1E7B #7B3C1E
split-complementary
#2E7B1E #3C1E7B #7B1E5D
monochromatic
#091906 #1C4A12 #2E7B1E #40AC2A #5BD142

Accessibility & contrast

On white

5.29
#2E7B1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2E7B1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7B1E
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7B1E#FFFFFF#000000##FFFFFF
##2E7B1E1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0D
Deuteranopia (green-blind)
#756928
Tritanopia (blue-blind)
#237769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e7b1e;
/* rgb */ color: rgb(46, 123, 30);
/* oklch */ color: oklch(51.6% 0.148 140.6);
Tailwind
colors: {
  custom: {
    50: '#71a260',
    500: '#2e7b1e',
    950: '#000000',
  },
}
SCSS
$custom: #2e7b1e;
$custom-light: #71a260;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7b1e",
  "rgb": {
    "r": 46,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 109.677,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.51567,
    "c": 0.14751,
    "h": 140.6
  },
  "luminance": 0.1484
}

Semantic roles & 50–950 ramp

primary
#2E7B1E
secondary
#9D46AE
accent
#44E4C8
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2E7B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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