#2E7B1A#2E7B1A

#2E7B1A is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.150 H 140.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2E7B1A
RGBrgb(46, 123, 26)
HSLhsl(108, 65%, 29%)
HSVhsv(108, 79%, 48%)
CMYKcmyk(62.6%, 0%, 78.9%, 51.8%)
CIE-LABlab(45.39, -41.92, 42.89)
CIE-LCHlch(45.39, 59.98, 134.35°)
OKLaboklab(51.54% -0.115 0.0961)
OKLCHoklch(51.54% 0.15 140.1)
XYZxyz(8.3957, 14.8206, 3.3953)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7B1A #671A7B
analogous
#5F7B1A #2E7B1A #1A7B37
triadic
#2E7B1A #1A2E7B #7B1A2E
tetradic
#2E7B1A #1A5F7B #671A7B #7B371A
square
#2E7B1A #1A5F7B #671A7B #7B371A
split-complementary
#2E7B1A #371A7B #7B1A5F
monochromatic
#091905 #1B480F #2E7B1A #41AE25 #5AD53A

Accessibility & contrast

On white

5.30
#2E7B1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2E7B1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7B1A
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7B1A#FFFFFF#000000##FFFFFF
##2E7B1A1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F04
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#247769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e7b1a;
/* rgb */ color: rgb(46, 123, 26);
/* oklch */ color: oklch(51.5% 0.150 140.1);
Tailwind
colors: {
  custom: {
    50: '#71a25e',
    500: '#2e7b1a',
    950: '#000000',
  },
}
SCSS
$custom: #2e7b1a;
$custom-light: #71a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7b1a",
  "rgb": {
    "r": 46,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 107.629,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51537,
    "c": 0.14992,
    "h": 140.1
  },
  "luminance": 0.14821
}

Semantic roles & 50–950 ramp

primary
#2E7B1A
secondary
#9942AF
accent
#40E8C5
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2E7B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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