#2D6032#2D6032

#2D6032 is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.1% C 0.092 H 145.8°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#2D6032
RGBrgb(45, 96, 50)
HSLhsl(126, 36%, 28%)
HSVhsv(126, 53%, 38%)
CMYKcmyk(53.1%, 0%, 47.9%, 62.4%)
CIE-LABlab(36.28, -28.03, 21.11)
CIE-LCHlch(36.28, 35.09, 143.02°)
OKLaboklab(44.11% -0.0761 0.0517)
OKLCHoklch(44.11% 0.092 145.8)
XYZxyz(5.8405, 9.1535, 4.4760)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6032 #602D5B
analogous
#42602D #2D6032 #2D604B
triadic
#2D6032 #322D60 #60322D
tetradic
#2D6032 #2D4260 #602D5B #604B2D
square
#2D6032 #2D4260 #602D5B #604B2D
split-complementary
#2D6032 #4B2D60 #602D42
monochromatic
#0A150B #19361C #2D6032 #418A48 #57B060

Accessibility & contrast

On white

7.42
#2D6032 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2D6032 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6032
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6032#FFFFFF#000000##FFFFFF
##2D60321.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61582E
Deuteranopia (green-blind)
#5A5335
Tritanopia (blue-blind)
#255E55
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d6032;
/* rgb */ color: rgb(45, 96, 50);
/* oklch */ color: oklch(44.1% 0.092 145.8);
Tailwind
colors: {
  custom: {
    50: '#6a8d6a',
    500: '#2d6032',
    950: '#000000',
  },
}
SCSS
$custom: #2d6032;
$custom-light: #6a8d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6032",
  "rgb": {
    "r": 45,
    "g": 96,
    "b": 50
  },
  "hsl": {
    "h": 125.882,
    "s": 36.17,
    "l": 27.647
  },
  "oklch": {
    "l": 0.44109,
    "c": 0.092,
    "h": 145.8
  },
  "luminance": 0.09154
}

Semantic roles & 50–950 ramp

primary
#2D6032
secondary
#92578C
accent
#5CC1CC
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #2D6032

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

Preview Lab → · Contrast checker → · Palette generator →

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