#2E5620#2E5620

#2E5620 is a dark, moderate green. Relative luminance 0.073; OKLCH L 41.0% C 0.094 H 138.4°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#2E5620
RGBrgb(46, 86, 32)
HSLhsl(104, 46%, 23%)
HSVhsv(104, 63%, 34%)
CMYKcmyk(46.5%, 0%, 62.8%, 66.3%)
CIE-LABlab(32.57, -25.63, 26.64)
CIE-LCHlch(32.57, 36.97, 133.90°)
OKLaboklab(41% -0.0705 0.0627)
OKLCHoklch(41% 0.094 138.4)
XYZxyz(4.7151, 7.3404, 2.5346)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5620 #482056
analogous
#495620 #2E5620 #20562D
triadic
#2E5620 #202E56 #56202E
tetradic
#2E5620 #204956 #482056 #562D20
square
#2E5620 #204956 #482056 #562D20
split-complementary
#2E5620 #2D2056 #562049
monochromatic
#0C1608 #16290F #2E5620 #468331 #5EAF41

Accessibility & contrast

On white

8.51
#2E5620 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2E5620 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5620
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5620#FFFFFF#000000##FFFFFF
##2E56201.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F1A
Deuteranopia (green-blind)
#534B24
Tritanopia (blue-blind)
#2B534A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e5620;
/* rgb */ color: rgb(46, 86, 32);
/* oklch */ color: oklch(41.0% 0.094 138.4);
Tailwind
colors: {
  custom: {
    50: '#6a865d',
    500: '#2e5620',
    950: '#000000',
  },
}
SCSS
$custom: #2e5620;
$custom-light: #6a865d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5620",
  "rgb": {
    "r": 46,
    "g": 86,
    "b": 32
  },
  "hsl": {
    "h": 104.444,
    "s": 45.763,
    "l": 23.137
  },
  "oklch": {
    "l": 0.41003,
    "c": 0.09434,
    "h": 138.4
  },
  "luminance": 0.07341
}

Semantic roles & 50–950 ramp

primary
#2E5620
secondary
#79478B
accent
#52D5B3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2E5620

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

Preview Lab → · Contrast checker → · Palette generator →

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