#2D6420#2D6420

#2D6420 is a dark, moderate green. Relative luminance 0.098; OKLCH L 45.0% C 0.116 H 140.0°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#2D6420
RGBrgb(45, 100, 32)
HSLhsl(109, 52%, 26%)
HSVhsv(109, 68%, 39%)
CMYKcmyk(55%, 0%, 68%, 60.8%)
CIE-LABlab(37.44, -32.36, 32.12)
CIE-LCHlch(37.44, 45.59, 135.22°)
OKLaboklab(44.98% -0.0887 0.0744)
OKLCHoklch(44.98% 0.116 140)
XYZxyz(5.8998, 9.7761, 2.9423)
Luminance0.0978 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6420 #572064
analogous
#4F6420 #2D6420 #206435
triadic
#2D6420 #202D64 #64202D
tetradic
#2D6420 #204F64 #572064 #643520
square
#2D6420 #204F64 #572064 #643520
split-complementary
#2D6420 #352064 #64204F
monochromatic
#0A1707 #183611 #2D6420 #42922F #57C13E

Accessibility & contrast

On white

7.11
#2D6420 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2D6420 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6420
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6420#FFFFFF#000000##FFFFFF
##2D64201.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B18
Deuteranopia (green-blind)
#605626
Tritanopia (blue-blind)
#276156
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d6420;
/* rgb */ color: rgb(45, 100, 32);
/* oklch */ color: oklch(45.0% 0.116 140.0);
Tailwind
colors: {
  custom: {
    50: '#6c915f',
    500: '#2d6420',
    950: '#000000',
  },
}
SCSS
$custom: #2d6420;
$custom-light: #6c915f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6420",
  "rgb": {
    "r": 45,
    "g": 100,
    "b": 32
  },
  "hsl": {
    "h": 108.529,
    "s": 51.515,
    "l": 25.882
  },
  "oklch": {
    "l": 0.44984,
    "c": 0.1158,
    "h": 140
  },
  "luminance": 0.09777
}

Semantic roles & 50–950 ramp

primary
#2D6420
secondary
#894898
accent
#4DDBC0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D05
muted
#7A7D79

Preview Lab

Preview with #2D6420

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

Preview Lab → · Contrast checker → · Palette generator →

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