#2E7E1C#2E7E1C

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

Color values

HEX#2E7E1C
RGBrgb(46, 126, 28)
HSLhsl(109, 64%, 30%)
HSVhsv(109, 78%, 49%)
CMYKcmyk(63.5%, 0%, 77.8%, 50.6%)
CIE-LABlab(46.43, -42.91, 43.18)
CIE-LCHlch(46.43, 60.88, 134.82°)
OKLaboklab(52.4% -0.1176 0.0971)
OKLCHoklch(52.4% 0.152 140.5)
XYZxyz(8.7968, 15.5856, 3.6431)
Luminance0.1559 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7E1C #6C1C7E
analogous
#5F7E1C #2E7E1C #1C7E3B
triadic
#2E7E1C #1C2E7E #7E1C2E
tetradic
#2E7E1C #1C5F7E #6C1C7E #7E3B1C
square
#2E7E1C #1C5F7E #6C1C7E #7E3B1C
split-complementary
#2E7E1C #3B1C7E #7E1C5F
monochromatic
#091A06 #1C4C11 #2E7E1C #40B027 #5BD540

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E7E1C#FFFFFF#000000##FFFFFF
##2E7E1C1.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)
#827207
Deuteranopia (green-blind)
#786C27
Tritanopia (blue-blind)
#227A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e7e1c;
/* rgb */ color: rgb(46, 126, 28);
/* oklch */ color: oklch(52.4% 0.152 140.5);
Tailwind
colors: {
  custom: {
    50: '#72a460',
    500: '#2e7e1c',
    950: '#000000',
  },
}
SCSS
$custom: #2e7e1c;
$custom-light: #72a460;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7e1c",
  "rgb": {
    "r": 46,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 108.98,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.524,
    "c": 0.15247,
    "h": 140.5
  },
  "luminance": 0.15586
}

Semantic roles & 50–950 ramp

primary
#2E7E1C
secondary
#9E44B2
accent
#41E7C8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2E7E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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