#2E7D1A#2E7D1A

#2E7D1A is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.152 H 140.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2E7D1A
RGBrgb(46, 125, 26)
HSLhsl(108, 66%, 30%)
HSVhsv(108, 79%, 49%)
CMYKcmyk(63.2%, 0%, 79.2%, 51%)
CIE-LABlab(46.07, -42.68, 43.56)
CIE-LCHlch(46.07, 60.98, 134.42°)
OKLaboklab(52.1% -0.1171 0.0975)
OKLCHoklch(52.1% 0.152 140.2)
XYZxyz(8.6464, 15.3218, 3.4788)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7D1A #691A7D
analogous
#607D1A #2E7D1A #1A7D38
triadic
#2E7D1A #1A2E7D #7D1A2E
tetradic
#2E7D1A #1A607D #691A7D #7D381A
square
#2E7D1A #1A607D #691A7D #7D381A
split-complementary
#2E7D1A #381A7D #7D1A60
monochromatic
#091905 #1B4A0F #2E7D1A #41B025 #5AD63B

Accessibility & contrast

On white

5.17
#2E7D1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2E7D1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7D1A
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7D1A#FFFFFF#000000##FFFFFF
##2E7D1A1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817103
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#23796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e7d1a;
/* rgb */ color: rgb(46, 125, 26);
/* oklch */ color: oklch(52.1% 0.152 140.2);
Tailwind
colors: {
  custom: {
    50: '#71a35f',
    500: '#2e7d1a',
    950: '#000000',
  },
}
SCSS
$custom: #2e7d1a;
$custom-light: #71a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7d1a",
  "rgb": {
    "r": 46,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 107.879,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52103,
    "c": 0.15239,
    "h": 140.2
  },
  "luminance": 0.15323
}

Semantic roles & 50–950 ramp

primary
#2E7D1A
secondary
#9B42B1
accent
#3FE9C6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2E7D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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