#2E7E1E#2E7E1E

#2E7E1E is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.151 H 140.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2E7E1E
RGBrgb(46, 126, 30)
HSLhsl(110, 62%, 31%)
HSVhsv(110, 76%, 49%)
CMYKcmyk(63.5%, 0%, 76.2%, 50.6%)
CIE-LABlab(46.44, -42.75, 42.45)
CIE-LCHlch(46.44, 60.25, 135.21°)
OKLaboklab(52.42% -0.117 0.0958)
OKLCHoklch(52.42% 0.151 140.7)
XYZxyz(8.8215, 15.5955, 3.7734)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7E1E #6E1E7E
analogous
#5E7E1E #2E7E1E #1E7E3E
triadic
#2E7E1E #1E2E7E #7E1E2E
tetradic
#2E7E1E #1E5E7E #6E1E7E #7E3E1E
square
#2E7E1E #1E5E7E #6E1E7E #7E3E1E
split-complementary
#2E7E1E #3E1E7E #7E1E5E
monochromatic
#0A1B06 #1C4D12 #2E7E1E #40AF2A #5CD244

Accessibility & contrast

On white

5.10
#2E7E1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2E7E1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7E1E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7E1E#FFFFFF#000000##FFFFFF
##2E7E1E1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720C
Deuteranopia (green-blind)
#786C28
Tritanopia (blue-blind)
#227A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e7e1e;
/* rgb */ color: rgb(46, 126, 30);
/* oklch */ color: oklch(52.4% 0.151 140.7);
Tailwind
colors: {
  custom: {
    50: '#71a461',
    500: '#2e7e1e',
    950: '#000000',
  },
}
SCSS
$custom: #2e7e1e;
$custom-light: #71a461;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7e1e",
  "rgb": {
    "r": 46,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 110,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52415,
    "c": 0.15126,
    "h": 140.7
  },
  "luminance": 0.15596
}

Semantic roles & 50–950 ramp

primary
#2E7E1E
secondary
#9F47B1
accent
#43E5CA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2E7E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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