#2E4E21#2E4E21

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

Color values

HEX#2E4E21
RGBrgb(46, 78, 33)
HSLhsl(103, 41%, 22%)
HSVhsv(103, 58%, 31%)
CMYKcmyk(41%, 0%, 57.7%, 69.4%)
CIE-LABlab(29.76, -21.53, 22.77)
CIE-LCHlch(29.76, 31.34, 133.39°)
OKLaboklab(38.71% -0.0592 0.0544)
OKLCHoklch(38.71% 0.08 137.4)
XYZxyz(4.1255, 6.1392, 2.4062)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E21 #41214E
analogous
#454E21 #2E4E21 #214E2B
triadic
#2E4E21 #212E4E #4E212E
tetradic
#2E4E21 #21454E #41214E #4E2B21
square
#2E4E21 #21454E #41214E #4E2B21
split-complementary
#2E4E21 #2B214E #4E2145
monochromatic
#0D1609 #15230F #2E4E21 #477933 #61A445

Accessibility & contrast

On white

9.43
#2E4E21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4E21
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E21#FFFFFF#000000##FFFFFF
##2E4E211.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50481D
Deuteranopia (green-blind)
#4C4524
Tritanopia (blue-blind)
#2D4B44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e4e21;
/* rgb */ color: rgb(46, 78, 33);
/* oklch */ color: oklch(38.7% 0.080 137.4);
Tailwind
colors: {
  custom: {
    50: '#69805d',
    500: '#2e4e21',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e21;
$custom-light: #69805d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e21",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 33
  },
  "hsl": {
    "h": 102.667,
    "s": 40.541,
    "l": 21.765
  },
  "oklch": {
    "l": 0.38714,
    "c": 0.08039,
    "h": 137.4
  },
  "luminance": 0.06139
}

Semantic roles & 50–950 ramp

primary
#2E4E21
secondary
#724982
accent
#57D0AD
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2E4E21

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

Preview Lab → · Contrast checker → · Palette generator →

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