#2E7A1A#2E7A1A

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

Color values

HEX#2E7A1A
RGBrgb(46, 122, 26)
HSLhsl(108, 65%, 29%)
HSVhsv(108, 79%, 48%)
CMYKcmyk(62.3%, 0%, 78.7%, 52.2%)
CIE-LABlab(45.04, -41.54, 42.55)
CIE-LCHlch(45.04, 59.47, 134.31°)
OKLaboklab(51.25% -0.114 0.0954)
OKLCHoklch(51.25% 0.149 140.1)
XYZxyz(8.2723, 14.5737, 3.3542)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7A1A #661A7A
analogous
#5E7A1A #2E7A1A #1A7A36
triadic
#2E7A1A #1A2E7A #7A1A2E
tetradic
#2E7A1A #1A5E7A #661A7A #7A361A
square
#2E7A1A #1A5E7A #661A7A #7A361A
split-complementary
#2E7A1A #361A7A #7A1A5E
monochromatic
#0A1905 #1B480F #2E7A1A #41AC25 #5AD539

Accessibility & contrast

On white

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

On black

3.91
#2E7A1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2E7A1A#FFFFFF#000000##FFFFFF
##2E7A1A1.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e7a1a;
/* rgb */ color: rgb(46, 122, 26);
/* oklch */ color: oklch(51.3% 0.149 140.1);
Tailwind
colors: {
  custom: {
    50: '#71a15e',
    500: '#2e7a1a',
    950: '#000000',
  },
}
SCSS
$custom: #2e7a1a;
$custom-light: #71a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7a1a",
  "rgb": {
    "r": 46,
    "g": 122,
    "b": 26
  },
  "hsl": {
    "h": 107.5,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51253,
    "c": 0.14869,
    "h": 140.1
  },
  "luminance": 0.14574
}

Semantic roles & 50–950 ramp

primary
#2E7A1A
secondary
#9841AE
accent
#40E8C5
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2E7A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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