#2E7A1C#2E7A1C

#2E7A1C is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.147 H 140.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2E7A1C
RGBrgb(46, 122, 28)
HSLhsl(109, 63%, 29%)
HSVhsv(109, 77%, 48%)
CMYKcmyk(62.3%, 0%, 77%, 52.2%)
CIE-LABlab(45.06, -41.39, 41.83)
CIE-LCHlch(45.06, 58.84, 134.70°)
OKLaboklab(51.27% -0.1135 0.0942)
OKLCHoklch(51.27% 0.148 140.3)
XYZxyz(8.2955, 14.5830, 3.4760)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7A1C #681C7A
analogous
#5D7A1C #2E7A1C #1C7A39
triadic
#2E7A1C #1C2E7A #7A1C2E
tetradic
#2E7A1C #1C5D7A #681C7A #7A391C
square
#2E7A1C #1C5D7A #681C7A #7A391C
split-complementary
#2E7A1C #391C7A #7A1C5D
monochromatic
#091906 #1B4811 #2E7A1C #41AC27 #5AD33E

Accessibility & contrast

On white

5.36
#2E7A1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2E7A1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7A1C
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7A1C#FFFFFF#000000##FFFFFF
##2E7A1C1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E09
Deuteranopia (green-blind)
#746826
Tritanopia (blue-blind)
#247668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e7a1c;
/* rgb */ color: rgb(46, 122, 28);
/* oklch */ color: oklch(51.3% 0.147 140.3);
Tailwind
colors: {
  custom: {
    50: '#71a15f',
    500: '#2e7a1c',
    950: '#000000',
  },
}
SCSS
$custom: #2e7a1c;
$custom-light: #71a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7a1c",
  "rgb": {
    "r": 46,
    "g": 122,
    "b": 28
  },
  "hsl": {
    "h": 108.511,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51268,
    "c": 0.1475,
    "h": 140.3
  },
  "luminance": 0.14584
}

Semantic roles & 50–950 ramp

primary
#2E7A1C
secondary
#9A44AE
accent
#42E6C6
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2E7A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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