#2E6A28#2E6A28

#2E6A28 is a mid, moderate green. Relative luminance 0.110; OKLCH L 46.8% C 0.117 H 141.9°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#2E6A28
RGBrgb(46, 106, 40)
HSLhsl(115, 45%, 29%)
HSVhsv(115, 62%, 42%)
CMYKcmyk(56.6%, 0%, 62.3%, 58.4%)
CIE-LABlab(39.65, -33.70, 30.66)
CIE-LCHlch(39.65, 45.57, 137.70°)
OKLaboklab(46.84% -0.0919 0.0722)
OKLCHoklch(46.84% 0.117 141.9)
XYZxyz(6.6634, 11.0416, 3.7872)
Luminance0.1104 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6A28 #64286A
analogous
#4F6A28 #2E6A28 #286A43
triadic
#2E6A28 #282E6A #6A282E
tetradic
#2E6A28 #284F6A #64286A #6A4328
square
#2E6A28 #284F6A #64286A #6A4328
split-complementary
#2E6A28 #43286A #6A284F
monochromatic
#0A1608 #1B3E17 #2E6A28 #419639 #5ABD50

Accessibility & contrast

On white

6.55
#2E6A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2E6A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6A28
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6A28#FFFFFF#000000##FFFFFF
##2E6A281.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6121
Deuteranopia (green-blind)
#655B2D
Tritanopia (blue-blind)
#26675C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e6a28;
/* rgb */ color: rgb(46, 106, 40);
/* oklch */ color: oklch(46.8% 0.117 141.9);
Tailwind
colors: {
  custom: {
    50: '#6d9564',
    500: '#2e6a28',
    950: '#000000',
  },
}
SCSS
$custom: #2e6a28;
$custom-light: #6d9564;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6a28",
  "rgb": {
    "r": 46,
    "g": 106,
    "b": 40
  },
  "hsl": {
    "h": 114.545,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.46843,
    "c": 0.11687,
    "h": 141.9
  },
  "luminance": 0.11042
}

Semantic roles & 50–950 ramp

primary
#2E6A28
secondary
#96519D
accent
#53D5C9
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070D05
muted
#7A7E7A

Preview Lab

Preview with #2E6A28

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

Preview Lab → · Contrast checker → · Palette generator →

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