#2E7E1A#2E7E1A

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

Color values

HEX#2E7E1A
RGBrgb(46, 126, 26)
HSLhsl(108, 66%, 30%)
HSVhsv(108, 79%, 49%)
CMYKcmyk(63.5%, 0%, 79.4%, 50.6%)
CIE-LABlab(46.41, -43.05, 43.89)
CIE-LCHlch(46.41, 61.48, 134.45°)
OKLaboklab(52.39% -0.1181 0.0982)
OKLCHoklch(52.39% 0.154 140.2)
XYZxyz(8.7736, 15.5763, 3.5213)
Luminance0.1558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7E1A #6A1A7E
analogous
#607E1A #2E7E1A #1A7E38
triadic
#2E7E1A #1A2E7E #7E1A2E
tetradic
#2E7E1A #1A607E #6A1A7E #7E381A
square
#2E7E1A #1A607E #6A1A7E #7E381A
split-complementary
#2E7E1A #381A7E #7E1A60
monochromatic
#091905 #1B4B10 #2E7E1A #41B124 #5BD73C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E7E1A#FFFFFF#000000##FFFFFF
##2E7E1A1.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)
#827202
Deuteranopia (green-blind)
#786B25
Tritanopia (blue-blind)
#237A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e7e1a;
/* rgb */ color: rgb(46, 126, 26);
/* oklch */ color: oklch(52.4% 0.154 140.2);
Tailwind
colors: {
  custom: {
    50: '#72a45f',
    500: '#2e7e1a',
    950: '#000000',
  },
}
SCSS
$custom: #2e7e1a;
$custom-light: #72a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7e1a",
  "rgb": {
    "r": 46,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 108,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52386,
    "c": 0.1536,
    "h": 140.2
  },
  "luminance": 0.15577
}

Semantic roles & 50–950 ramp

primary
#2E7E1A
secondary
#9C42B2
accent
#3FE9C7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2E7E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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