#2E4E22#2E4E22

#2E4E22 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.7% C 0.079 H 137.8°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#2E4E22
RGBrgb(46, 78, 34)
HSLhsl(104, 39%, 22%)
HSVhsv(104, 56%, 31%)
CMYKcmyk(41%, 0%, 56.4%, 69.4%)
CIE-LABlab(29.78, -21.39, 22.22)
CIE-LCHlch(29.78, 30.84, 133.90°)
OKLaboklab(38.73% -0.0588 0.0532)
OKLCHoklch(38.73% 0.079 137.8)
XYZxyz(4.1397, 6.1449, 2.4810)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E22 #42224E
analogous
#444E22 #2E4E22 #224E2C
triadic
#2E4E22 #222E4E #4E222E
tetradic
#2E4E22 #22444E #42224E #4E2C22
square
#2E4E22 #22444E #42224E #4E2C22
split-complementary
#2E4E22 #2C224E #4E2244
monochromatic
#0D1509 #15230F #2E4E22 #477935 #60A347

Accessibility & contrast

On white

9.42
#2E4E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2E4E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E22
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E22#FFFFFF#000000##FFFFFF
##2E4E221.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50481E
Deuteranopia (green-blind)
#4C4525
Tritanopia (blue-blind)
#2C4B44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e4e22;
/* rgb */ color: rgb(46, 78, 34);
/* oklch */ color: oklch(38.7% 0.079 137.8);
Tailwind
colors: {
  custom: {
    50: '#69805e',
    500: '#2e4e22',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e22;
$custom-light: #69805e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e22",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 34
  },
  "hsl": {
    "h": 103.636,
    "s": 39.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3873,
    "c": 0.07929,
    "h": 137.8
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

primary
#2E4E22
secondary
#734A82
accent
#59CFAF
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2E4E22

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

Preview Lab → · Contrast checker → · Palette generator →

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