#2E4E27#2E4E27

#2E4E27 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.8% C 0.074 H 140.0°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#2E4E27
RGBrgb(46, 78, 39)
HSLhsl(109, 33%, 23%)
HSVhsv(109, 50%, 31%)
CMYKcmyk(41%, 0%, 50%, 69.4%)
CIE-LABlab(29.85, -20.63, 19.40)
CIE-LCHlch(29.85, 28.32, 136.75°)
OKLaboklab(38.82% -0.0564 0.0473)
OKLCHoklch(38.82% 0.074 140)
XYZxyz(4.2172, 6.1759, 2.8889)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E27 #47274E
analogous
#414E27 #2E4E27 #274E33
triadic
#2E4E27 #272E4E #4E272E
tetradic
#2E4E27 #27414E #47274E #4E3327
square
#2E4E27 #27414E #47274E #4E3327
split-complementary
#2E4E27 #33274E #4E2741
monochromatic
#0C140A #162513 #2E4E27 #46773B #5EA050

Accessibility & contrast

On white

9.40
#2E4E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2E4E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E27
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E27#FFFFFF#000000##FFFFFF
##2E4E271.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504824
Deuteranopia (green-blind)
#4B4529
Tritanopia (blue-blind)
#2C4C45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e4e27;
/* rgb */ color: rgb(46, 78, 39);
/* oklch */ color: oklch(38.8% 0.074 140.0);
Tailwind
colors: {
  custom: {
    50: '#698062',
    500: '#2e4e27',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e27;
$custom-light: #698062;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e27",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 39
  },
  "hsl": {
    "h": 109.231,
    "s": 33.333,
    "l": 22.941
  },
  "oklch": {
    "l": 0.38818,
    "c": 0.07358,
    "h": 140
  },
  "luminance": 0.06176
}

Semantic roles & 50–950 ramp

primary
#2E4E27
secondary
#785081
accent
#5EC9B6
background
#F6F7F5
surface
#EBEEEA
border
#C6C9C6
text
#060A05
muted
#7A7C79

Preview Lab

Preview with #2E4E27

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

Preview Lab → · Contrast checker → · Palette generator →

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