#2E7C1C#2E7C1C

#2E7C1C is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.150 H 140.4°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2E7C1C
RGBrgb(46, 124, 28)
HSLhsl(109, 63%, 30%)
HSVhsv(109, 77%, 49%)
CMYKcmyk(62.9%, 0%, 77.4%, 51.4%)
CIE-LABlab(45.74, -42.15, 42.51)
CIE-LCHlch(45.74, 59.87, 134.76°)
OKLaboklab(51.83% -0.1155 0.0956)
OKLCHoklch(51.83% 0.15 140.4)
XYZxyz(8.5436, 15.0792, 3.5587)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7C1C #6A1C7C
analogous
#5E7C1C #2E7C1C #1C7C3A
triadic
#2E7C1C #1C2E7C #7C1C2E
tetradic
#2E7C1C #1C5E7C #6A1C7C #7C3A1C
square
#2E7C1C #1C5E7C #6A1C7C #7C3A1C
split-complementary
#2E7C1C #3A1C7C #7C1C5E
monochromatic
#091906 #1B4A11 #2E7C1C #41AE27 #5BD43F

Accessibility & contrast

On white

5.23
#2E7C1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2E7C1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7C1C
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7C1C#FFFFFF#000000##FFFFFF
##2E7C1C1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7008
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#23786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e7c1c;
/* rgb */ color: rgb(46, 124, 28);
/* oklch */ color: oklch(51.8% 0.150 140.4);
Tailwind
colors: {
  custom: {
    50: '#71a35f',
    500: '#2e7c1c',
    950: '#000000',
  },
}
SCSS
$custom: #2e7c1c;
$custom-light: #71a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7c1c",
  "rgb": {
    "r": 46,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 108.75,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51834,
    "c": 0.15,
    "h": 140.4
  },
  "luminance": 0.1508
}

Semantic roles & 50–950 ramp

primary
#2E7C1C
secondary
#9C44B0
accent
#42E6C7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2E7C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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