#2E7628#2E7628

#2E7628 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.134 H 142.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#2E7628
RGBrgb(46, 118, 40)
HSLhsl(115, 49%, 31%)
HSVhsv(115, 66%, 46%)
CMYKcmyk(61%, 0%, 66.1%, 53.7%)
CIE-LABlab(43.79, -38.69, 35.35)
CIE-LCHlch(43.79, 52.40, 137.58°)
OKLaboklab(50.25% -0.1054 0.0822)
OKLCHoklch(50.25% 0.134 142.1)
XYZxyz(7.9877, 13.6902, 4.2286)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7628 #702876
analogous
#557628 #2E7628 #287649
triadic
#2E7628 #282E76 #76282E
tetradic
#2E7628 #285576 #702876 #764928
square
#2E7628 #285576 #702876 #764928
split-complementary
#2E7628 #492876 #762855
monochromatic
#0A1B09 #1C4819 #2E7628 #40A437 #5CC554

Accessibility & contrast

On white

5.62
#2E7628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#2E7628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7628
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7628#FFFFFF#000000##FFFFFF
##2E76281.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B1F
Deuteranopia (green-blind)
#70652F
Tritanopia (blue-blind)
#237266
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2e7628;
/* rgb */ color: rgb(46, 118, 40);
/* oklch */ color: oklch(50.2% 0.134 142.1);
Tailwind
colors: {
  custom: {
    50: '#6f9e65',
    500: '#2e7628',
    950: '#000000',
  },
}
SCSS
$custom: #2e7628;
$custom-light: #6f9e65;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7628",
  "rgb": {
    "r": 46,
    "g": 118,
    "b": 40
  },
  "hsl": {
    "h": 115.385,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50249,
    "c": 0.13368,
    "h": 142.1
  },
  "luminance": 0.13691
}

Semantic roles & 50–950 ramp

primary
#2E7628
secondary
#A152A8
accent
#4FD9CE
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2E7628

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

Preview Lab → · Contrast checker → · Palette generator →

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