#2E6828#2E6828

#2E6828 is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.3% C 0.114 H 141.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#2E6828
RGBrgb(46, 104, 40)
HSLhsl(114, 44%, 28%)
HSVhsv(114, 62%, 41%)
CMYKcmyk(55.8%, 0%, 61.5%, 59.2%)
CIE-LABlab(38.96, -32.84, 29.86)
CIE-LCHlch(38.96, 44.39, 137.72°)
OKLaboklab(46.27% -0.0896 0.0704)
OKLCHoklch(46.27% 0.114 141.8)
XYZxyz(6.4597, 10.6342, 3.7193)
Luminance0.1064 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6828 #622868
analogous
#4E6828 #2E6828 #286842
triadic
#2E6828 #282E68 #68282E
tetradic
#2E6828 #284E68 #622868 #684228
square
#2E6828 #284E68 #622868 #684228
split-complementary
#2E6828 #422868 #68284E
monochromatic
#0A1609 #1A3C17 #2E6828 #429439 #59BB4F

Accessibility & contrast

On white

6.72
#2E6828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2E6828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6828
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6828#FFFFFF#000000##FFFFFF
##2E68281.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5F21
Deuteranopia (green-blind)
#635A2D
Tritanopia (blue-blind)
#27655A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e6828;
/* rgb */ color: rgb(46, 104, 40);
/* oklch */ color: oklch(46.3% 0.114 141.8);
Tailwind
colors: {
  custom: {
    50: '#6d9464',
    500: '#2e6828',
    950: '#000000',
  },
}
SCSS
$custom: #2e6828;
$custom-light: #6d9464;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6828",
  "rgb": {
    "r": 46,
    "g": 104,
    "b": 40
  },
  "hsl": {
    "h": 114.375,
    "s": 44.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.46273,
    "c": 0.11395,
    "h": 141.8
  },
  "luminance": 0.10635
}

Semantic roles & 50–950 ramp

primary
#2E6828
secondary
#94519B
accent
#54D4C8
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#070D05
muted
#7A7E7A

Preview Lab

Preview with #2E6828

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

Preview Lab → · Contrast checker → · Palette generator →

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