#2E7D28#2E7D28

#2E7D28 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.143 H 142.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2E7D28
RGBrgb(46, 125, 40)
HSLhsl(116, 52%, 32%)
HSVhsv(116, 68%, 49%)
CMYKcmyk(63.2%, 0%, 68%, 51%)
CIE-LABlab(46.18, -41.44, 37.99)
CIE-LCHlch(46.18, 56.22, 137.49°)
OKLaboklab(52.22% -0.1129 0.0878)
OKLCHoklch(52.22% 0.143 142.1)
XYZxyz(8.8429, 15.4004, 4.5136)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7D28 #77287D
analogous
#587D28 #2E7D28 #287D4D
triadic
#2E7D28 #282E7D #7D282E
tetradic
#2E7D28 #28587D #77287D #7D4D28
square
#2E7D28 #28587D #77287D #7D4D28
split-complementary
#2E7D28 #4D287D #7D2858
monochromatic
#0C200A #1D4F19 #2E7D28 #3FAB37 #5EC956

Accessibility & contrast

On white

5.15
#2E7D28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2E7D28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7D28
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7D28#FFFFFF#000000##FFFFFF
##2E7D281.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711D
Deuteranopia (green-blind)
#766B30
Tritanopia (blue-blind)
#20796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e7d28;
/* rgb */ color: rgb(46, 125, 40);
/* oklch */ color: oklch(52.2% 0.143 142.1);
Tailwind
colors: {
  custom: {
    50: '#71a366',
    500: '#2e7d28',
    950: '#000000',
  },
}
SCSS
$custom: #2e7d28;
$custom-light: #71a366;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7d28",
  "rgb": {
    "r": 46,
    "g": 125,
    "b": 40
  },
  "hsl": {
    "h": 115.765,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52224,
    "c": 0.14301,
    "h": 142.1
  },
  "luminance": 0.15401
}

Semantic roles & 50–950 ramp

primary
#2E7D28
secondary
#A853AE
accent
#4DDBD1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7D28

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

Preview Lab → · Contrast checker → · Palette generator →

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