#2E6827#2E6827

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

Color values

HEX#2E6827
RGBrgb(46, 104, 39)
HSLhsl(114, 45%, 28%)
HSVhsv(114, 63%, 41%)
CMYKcmyk(55.8%, 0%, 62.5%, 59.2%)
CIE-LABlab(38.95, -32.97, 30.36)
CIE-LCHlch(38.95, 44.82, 137.36°)
OKLaboklab(46.26% -0.09 0.0714)
OKLCHoklch(46.26% 0.115 141.6)
XYZxyz(6.4429, 10.6274, 3.6308)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6827 #612768
analogous
#4E6827 #2E6827 #276840
triadic
#2E6827 #272E68 #68272E
tetradic
#2E6827 #274E68 #612768 #684027
square
#2E6827 #274E68 #612768 #684027
split-complementary
#2E6827 #402768 #68274E
monochromatic
#0A1608 #1A3B16 #2E6827 #429538 #59BC4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E6827#FFFFFF#000000##FFFFFF
##2E68271.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)
#6B5F20
Deuteranopia (green-blind)
#635A2C
Tritanopia (blue-blind)
#27655A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e6827;
/* rgb */ color: rgb(46, 104, 39);
/* oklch */ color: oklch(46.3% 0.115 141.6);
Tailwind
colors: {
  custom: {
    50: '#6d9463',
    500: '#2e6827',
    950: '#000000',
  },
}
SCSS
$custom: #2e6827;
$custom-light: #6d9463;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6827",
  "rgb": {
    "r": 46,
    "g": 104,
    "b": 39
  },
  "hsl": {
    "h": 113.538,
    "s": 45.455,
    "l": 28.039
  },
  "oklch": {
    "l": 0.4626,
    "c": 0.11488,
    "h": 141.6
  },
  "luminance": 0.10628
}

Semantic roles & 50–950 ramp

primary
#2E6827
secondary
#93509B
accent
#53D5C7
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#070D05
muted
#7A7E7A

Preview Lab

Preview with #2E6827

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

Preview Lab → · Contrast checker → · Palette generator →

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