#2E6728#2E6728

#2E6728 is a mid, moderate green. Relative luminance 0.104; OKLCH L 46.0% C 0.112 H 141.8°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#2E6728
RGBrgb(46, 103, 40)
HSLhsl(114, 44%, 28%)
HSVhsv(114, 61%, 40%)
CMYKcmyk(55.3%, 0%, 61.2%, 59.6%)
CIE-LABlab(38.61, -32.40, 29.46)
CIE-LCHlch(38.61, 43.79, 137.72°)
OKLaboklab(45.99% -0.0884 0.0696)
OKLCHoklch(45.99% 0.112 141.8)
XYZxyz(6.3597, 10.4340, 3.6859)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6728 #612867
analogous
#4D6728 #2E6728 #286741
triadic
#2E6728 #282E67 #67282E
tetradic
#2E6728 #284D67 #612867 #674128
square
#2E6728 #284D67 #612867 #674128
split-complementary
#2E6728 #412867 #67284D
monochromatic
#0A1609 #1A3B17 #2E6728 #429339 #59BB4F

Accessibility & contrast

On white

6.80
#2E6728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2E6728 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6728
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6728#FFFFFF#000000##FFFFFF
##2E67281.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E22
Deuteranopia (green-blind)
#62592D
Tritanopia (blue-blind)
#276459
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e6728;
/* rgb */ color: rgb(46, 103, 40);
/* oklch */ color: oklch(46.0% 0.112 141.8);
Tailwind
colors: {
  custom: {
    50: '#6c9364',
    500: '#2e6728',
    950: '#000000',
  },
}
SCSS
$custom: #2e6728;
$custom-light: #6c9364;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6728",
  "rgb": {
    "r": 46,
    "g": 103,
    "b": 40
  },
  "hsl": {
    "h": 114.286,
    "s": 44.056,
    "l": 28.039
  },
  "oklch": {
    "l": 0.45988,
    "c": 0.11249,
    "h": 141.8
  },
  "luminance": 0.10435
}

Semantic roles & 50–950 ramp

primary
#2E6728
secondary
#93519A
accent
#54D4C8
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#070D05
muted
#7A7E7A

Preview Lab

Preview with #2E6728

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

Preview Lab → · Contrast checker → · Palette generator →

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