#2D6020#2D6020

#2D6020 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.8% C 0.110 H 139.7°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#2D6020
RGBrgb(45, 96, 32)
HSLhsl(108, 50%, 25%)
HSVhsv(108, 67%, 38%)
CMYKcmyk(53.1%, 0%, 66.7%, 62.4%)
CIE-LABlab(36.04, -30.61, 30.56)
CIE-LCHlch(36.04, 43.25, 135.04°)
OKLaboklab(43.83% -0.084 0.0711)
OKLCHoklch(43.83% 0.11 139.7)
XYZxyz(5.5255, 9.0275, 2.8175)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6020 #532060
analogous
#4D6020 #2D6020 #206033
triadic
#2D6020 #202D60 #60202D
tetradic
#2D6020 #204D60 #532060 #603320
square
#2D6020 #204D60 #532060 #603320
split-complementary
#2D6020 #332060 #60204D
monochromatic
#0B1708 #173211 #2D6020 #438E2F #58BC3F

Accessibility & contrast

On white

7.49
#2D6020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2D6020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6020
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6020#FFFFFF#000000##FFFFFF
##2D60201.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635719
Deuteranopia (green-blind)
#5C5325
Tritanopia (blue-blind)
#285D52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d6020;
/* rgb */ color: rgb(45, 96, 32);
/* oklch */ color: oklch(43.8% 0.110 139.7);
Tailwind
colors: {
  custom: {
    50: '#6b8e5e',
    500: '#2d6020',
    950: '#000000',
  },
}
SCSS
$custom: #2d6020;
$custom-light: #6b8e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6020",
  "rgb": {
    "r": 45,
    "g": 96,
    "b": 32
  },
  "hsl": {
    "h": 107.813,
    "s": 50,
    "l": 25.098
  },
  "oklch": {
    "l": 0.43833,
    "c": 0.11003,
    "h": 139.7
  },
  "luminance": 0.09028
}

Semantic roles & 50–950 ramp

primary
#2D6020
secondary
#854794
accent
#4EDABD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2D6020

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

Preview Lab → · Contrast checker → · Palette generator →

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